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

Can you add amCharts 5? #2

Open
testn opened this issue Feb 7, 2023 · 3 comments
Open

Can you add amCharts 5? #2

testn opened this issue Feb 7, 2023 · 3 comments

Comments

@testn
Copy link

testn commented Feb 7, 2023

AmCharts5 seems to claim that it's much more performant. Can you help add that to the benchmark, too?

@totemtec
Copy link

I want to see Chart.js .

Thanks

@leeoniya
Copy link

leeoniya commented Mar 16, 2023

this should give you an idea: chartjs/Chart.js#11189

keep in mind that you need very specific settings and data formats to get good performance out of most charting libs. see the links in that discussion. amCharts5 is also there (yes it's much faster than v4, though still not "fast" when compared against everything else).

@niiloArction
Copy link
Collaborator

I want to see Chart.js .

Thanks

Added chartjs benchmark to the repo. I didn't update the results at the same time as that is a larger project.

I can, however, give some rough results from my local computer of chart.js vs lcjs:

Static line chart test:
LCJS 10 series 100_000 dp/series => 140 milliseconds
Chart.js 10 series 100_00 dp/series => 450 milliseconds

Appending line chart test:
LCJS 10 series 10_000dp/s/series 15s history => 60 FPS 30% CPU
Chart.js 1 series 2_000dp/s 15s history => 35 FPS 100% CPU

Refreshing line chart test
LCJS 10 series 100_000dp/series 60Hz => 40 FPS 90% CPU
Chart.js 10 series 10_000dp/series 60Hz => 35 FPS 100% CPU

You can also run the test benches locally on your end.

As for AmCharts 5, for now I'll just add a marker for the next time we update all the tests. I'm not expecting any groundbreaking changes there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants