Skip to content

Remove dead code from the Web IDE

Himanshu Kapoor requested to merge himkp-ide-dead-code into master

What does this MR do?

Remove certain properties from the file object in the Web IDE.

As per &2433 (closed), we have a big problem of memory consumption in the Web IDE. Removing dead code will certainly help us free up a little bit of memory and gain performance, even if it's minor.

What's removed?

Properties on the file object

  • parentTreeUrl
  • permalink
  • commitsPath
  • blamePath
  • replaces
  • renderError
  • lastCommitPath
  • html
  • renderError

Mutations

  • SET_LAST_COMMIT_URL

Utils

  • findEntry
  • findIndexOfFile

References

Edited by Himanshu Kapoor

Merge request reports