gitlab-org--gitlab-foss/spec/javascripts/reports/components
Lukas Eipert 26ab92d3f3
Improve performance of rendering large reports
Instead of rendering all report items in 4 big lists, we make use of
vue-virtual-scroll-list and render only few dozens at once. This
improves the performance in several metrics:

- Initial load time
- Memory Pressure
- CPU Load
- DOM node count

In an example with around 11k reported security vulnerabilities:

- Initial load time: 27s -> 4.1s
- Memory Pressure: ~750 MB -> ~270 MB
- CPU Load (time spent on executing JS/Rendering): 22s -> 2.5s
- DOM node count: 430k -> 7k up to 30k while scrolling
2018-11-06 11:39:11 +01:00
..
grouped_test_reports_app_spec.js Improve performance of rendering large reports 2018-11-06 11:39:11 +01:00
modal_open_name_spec.js Moves report components to reports folder 2018-08-07 16:06:38 +01:00
modal_spec.js Resolve eslint violations 2018-10-17 11:18:17 -05:00
report_link_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
report_section_spec.js Improve performance of rendering large reports 2018-11-06 11:39:11 +01:00
summary_row_spec.js Moves report components to reports folder 2018-08-07 16:06:38 +01:00
test_issue_body_spec.js enable jasmine/new-line-before-expect 2018-10-17 06:57:29 +02:00