Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performances for chart with about 1500 values #169

Open
dclairac opened this issue Apr 18, 2014 · 2 comments
Open

Performances for chart with about 1500 values #169

dclairac opened this issue Apr 18, 2014 · 2 comments
Labels
C-performance Category: A issue about performance question

Comments

@dclairac
Copy link

On chart with about 1500 values, it take about 3 secondes to generate and draw data.
Example: http://jsfiddle.net/8qgn4/2/

It seems to take little more time for loading with csv but it's hard to verify
(use of url: 'path_of_csv' seems slower than row: 'datas' even if csv take 40ms to be downloaded).

Is there any way to reduce this time ?

@masayuki0812
Copy link
Member

Hi @dclairac ,
As said in #172, it might be difficult to improve dramatically. However, I'll try optimizing later. Reducing the number of elements might works well.

@dclairac
Copy link
Author

Thanks, I haven't see #172.
For now, I have change my server code to compute average for 1s, 10s or 60s depend of number of point. Thats work great as I never have more than 300 point to display.

Problem is that there is less information on the chart.
Should it be possible, with sub chart to have all the points in csv but to display only some of them (or average). But when using zoom tool on subchart, have more points display on upper chart ?
With that, we can have fast display chart and on a selected period, we can have something more specific.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-performance Category: A issue about performance question
Projects
None yet
Development

No branches or pull requests

3 participants