c3js / c3js/c3

c3 performance issue in Firefox

Open
#1,024 6 comments 0 reactions 0 assignees View on GitHub
C-performance
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)

![c3_3x60](https://cloud.githubusercontent.com/assets/731426/6368144/34697f9c-bcda-11e4-9d62-4ecb0d1ca6d2.png)

Chrome only uses 10% of the time in the updateLegend api.

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.