Commit graph

10 commits

Author SHA1 Message Date
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
Mike Greiling
7a3e605350
Resolve eslint violations 2018-10-17 11:18:17 -05:00
Mike Greiling
f666026d71
Prettify all spec files 2018-10-17 11:18:17 -05:00
Johann Hubert Sonntagbauer
6f5723a169 enable jasmine/new-line-before-expect 2018-10-17 06:57:29 +02:00
Johann Hubert Sonntagbauer
2a76e04091 enable jasmine/new-line-between-declarations 2018-10-09 19:01:49 +02:00
Filipa Lacerda
bcdc6f3119
Moves report components to reports folder 2018-08-07 16:06:38 +01:00
Filipa Lacerda
0f0e70bc13
Reset error state in success mutation to handle error-success state 2018-08-07 14:05:53 +01:00
Filipa Lacerda
d8fc401229 Show resolved failures 2018-08-07 14:05:13 +01:00
Filipa Lacerda
15511ed14f Changes after review:
- Cleans up CSS to use common classes
- Removes getters to use mapState instead
- Makes the first request even when tab is not visible
- Show loading state in 204
2018-08-02 17:59:25 +01:00
Filipa Lacerda
bfeb7c2c3f Adds frontend support to render test reports on theMR widget
Creates an app to render grouped test reports in the MR widget
Ports CSS from EE into CE
Creates a reusable code component
Adds getters and utils to the existing reports store
2018-08-02 17:59:22 +01:00