Closed mletenay closed 2 years ago
Hi, two changes (https://github.com/vaadin/web-components/pull/2910, https://github.com/vaadin/web-components/pull/2912) targeting to improve the virtualizer performance were shipped with Vaadin 21.0.5. Please let us know if this is still an issue.
If your app has as many columns as the example in the description, there really aren't any ways around performance issues until https://github.com/vaadin/web-components/issues/1459 gets implemented.
What Tomi said: https://github.com/vaadin/web-components/issues/2880#issuecomment-968816972, but please use 21.0.6 which will also include a correct TestBench version.
Description
Significant performance degradation of grid component in v21.0.3 (vs v20.0.8). When identical code is executed (and measured by chrome's profiler), the V21 shows much higher scripting times than previous V20. Depending on number of columns the performance seems to be worse by 30-60%.
Expected outcome
Vaadin v20.0.8 Sample grid with 50 columns - scripting time ~800ms Sample grid with 100 columns - scripting time ~1750ms
Actual outcome
Vaadin v21.0.3 Sample grid with 50 columns - scripting time ~1050ms Sample grid with 100 columns - scripting time ~2800ms
Minimal reproducible example
Vaadin flow simple showcase:
Steps to reproduce
Measure client side performance and compare V20 with V21. V21 seems to show unexpected performance degradation.
Environment
Browsers Affected