You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Construction of series objects is very slow even for array input. Our use-case requires adding multiple series to chart having ~10k points each. A single series seems to take 3 seconds.
Thanks, @nishikantparmariam , and sorry you're running into some slow performance here. One question: Are you running this in a context where you have NumPy installed?
We introduced some major performance improvements awhile back that have a soft dependency on NumPy (i.e. if NumPy is available in the environment, it should result in significant performance improvements) If however you are seeing this poor performance in an environment where NumPy is present, then that will require some further investigation to see what's happening.
Hmm - thanks for confirming that. I'll need to look into this, because if NumPy is present in your environment:
Series construction should be vectorized.
Serialization of series via .to_js_literal() should create a list of lists rather than a list of dict if the data points are not utilizing "special" properties.
All of which should provide a very significant performance boost. So this suggests that there's a bug somewhere in this that needs to get investigated / resolved.
Description
Construction of series objects is very slow even for array input. Our use-case requires adding multiple series to chart having ~10k points each. A single series seems to take
3
seconds.Reproducer
Version
highcharts-stock == 1.7.0
highcharts-core == 1.8.2
The text was updated successfully, but these errors were encountered: