Performance Optimization
hypery2k opened this issue · 3 comments
hypery2k commented
Is your feature request related to a problem? Please describe.
Vis Timeline triggers periodically via setTimeout
for a rerender. This causes performance issues (as shown by @luchsamapparat):
Describe the solution you'd like
- We could initially run the Vis Timeline outside the ngZone, but needs then to make change detection manual
- I think we should also think about the setTimeout Method
Describe alternatives you've considered
Additional context
Demo: https://vistimelineexample.z22.web.core.windows.net/
Source: https://github.com/luchsamapparat/vis-timeline-example
Thomaash commented
Timeline is best to be discussed with @yotamberk. My insight into this is limited.
hypery2k commented
Could be verified with Lighthouse CI