Performance when rendering a lot of words
DRoet opened this issue · 4 comments
Hi,
Great work so far with this library, I really like it.
However I have noticed some performance issues when trying to load +/- 200 words, the initial render feels a lot slower then something like: wordcloud2.js. I assume this is because of the rendering using <div>
instead of <canvas>
? From what I can tell there is also no callback function that tells me when the rendering is complete so it's difficult to display some sort of preloader in the meantime.
Any thoughts?
Hi.
I made a big update. How is performance now? Is it only slow in the demo? Try to turn off the animation.
Hi,
I tested on the newest version (18.3.4) and turned off the animation, but unfortunately the issue still persists,
I plan to add an option to switch between dom and canvas renderer. Maybe it will help.
This one is a pure canvas renderer.
https://seregpie.github.io/almete.WordCloud/
Check please how it performs by you.