daattali / timevis

📅 Create interactive timeline visualizations in R
http://daattali.com/shiny/timevis-demo/
Other
650 stars 157 forks source link

Stacking performance - update vis.js version? #148

Open benhmin opened 7 months ago

benhmin commented 7 months ago

Hi. I had been noticing some slow performance in one of my apps as I added more content to the timeline. I found this issue on vis.js related to stack performance as the number of events gets higher.

https://github.com/visjs/vis-timeline/issues/1233

Looks like the vis.js version for timevis is currently 7.4.9 and the issue was addressed in version 7.5.0. Any chance that version could be updated in an upcoming release?

For now I have disabled stacking (and it's not my app's only performance issue 😉), but I thought i'd bring it up.

Thanks for the great application!

daattali commented 7 months ago

Thanks for the heads up. It looks like 7.5.0 was available when I made the upgrade to 7.4.9, so I'm guessing that there was a reason I chose to go with 7.4.9. Usually if I choose a non up-to-date version it's because from my own testing it seems to be the least buggy or least prone to breaking changes. But now that it's been a couple of years, it's worth re-looking into it. So in the next update I'll try the newest visjs. Thanks!