c3 performance issue in Firefox
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 1.4k
- Avg merge
- 6d 16h
- Merged PRs (30d)
- 1
Description
We currently run a early 0.3.0 version of c3 and it works ok.
The newest version is very slow and unusable in firefox.
http://jsfiddle.net/neilwightman/3h3h8x40/
shows 6 graphs with 60 points each updating every second.
This used to work a lot quicker. Attached is the profile from firefox. (i cant attach the json output)

Chrome only uses 10% of the time in the updateLegend api.
Contributor guide
Research direction
Start by reproducing the six-chart, 60-point update case from the linked JSFiddle in Firefox and compare its profile with Chrome and the reported early 0.3.0 behavior. Trace the updateLegend API path identified in the report; done means the Firefox update is usable again and its performance is substantially closer to the earlier version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100