Skip to content

[perf] cache resolved data element options#6574

Closed
benmccann wants to merge 1 commit intochartjs:masterfrom
benmccann:cache-data-element-options
Closed

[perf] cache resolved data element options#6574
benmccann wants to merge 1 commit intochartjs:masterfrom
benmccann:cache-data-element-options

Conversation

@benmccann
Copy link
Contributor

@benmccann benmccann commented Oct 17, 2019

The motivation for this PR is to improve Chart.js performance on the benchmark below
https://github.com/leeoniya/uPlot#performance

This reduces render time by 45% on the benchmark for me

Closes #6382

@benmccann benmccann force-pushed the cache-data-element-options branch from 754b7cc to 8f42efd Compare October 17, 2019 16:48
@benmccann
Copy link
Contributor Author

Closing in favor of @kurkle's version #6579 which I think is cleaner

@benmccann benmccann closed this Oct 18, 2019
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

Successfully merging this pull request may close these issues.

performance regression in 2.8.0

3 participants