Added virtual scrolling to diffs
This adds virtual scrolling to the diffs app so that we can render a lot of diff files in a very fast and performant way. Doing virtual scrolling also helps us manage our memory usage a lot as we aren't rendering a lot of components into the DOM. Locally we get a lot of performance gains (close to 20s improvement to the TBT time). For now this is behind a feature flag. The feature flag is there so that this can be merged but not enabled until we are sure this is something we want. Closes https://gitlab.com/gitlab-org/gitlab/-/issues/326773
Showing
... | ... | @@ -152,6 +152,7 @@ |
"prosemirror-model": "^1.13.3", | ||
"raphael": "^2.2.7", | ||
"raw-loader": "^4.0.2", | ||
"scrollparent": "^2.0.1", | ||
"select2": "3.5.2-browserify", | ||
"smooshpack": "^0.0.62", | ||
"sortablejs": "^1.10.2", | ||
... | ... | @@ -171,6 +172,8 @@ |
"vue": "^2.6.12", | ||
"vue-apollo": "^3.0.3", | ||
"vue-loader": "^15.9.6", | ||
"vue-observe-visibility": "^1.0.0", | ||
"vue-resize": "^1.0.1", | ||
"vue-router": "3.4.9", | ||
"vue-template-compiler": "^2.6.12", | ||
"vue-virtual-scroll-list": "^1.4.7", | ||
... | ... |
This diff is collapsed.
Please register or sign in to comment