Skip to content

Commit 86e2fc3

Browse files
committed
update bench data
1 parent 61c9a28 commit 86e2fc3

File tree

5 files changed

+99
-103
lines changed

5 files changed

+99
-103
lines changed

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ Additionally, an ever-expanding collection of runnable [/demos](https://leeoniya
5858

5959
Benchmarks done on a ThinkPad T480S:
6060

61-
- Date: 2020-08-01
62-
- Windows 10 x64, Chrome 84.0.4147.105 (Official Build) (64-bit)
61+
- Date: 2020-09-18
62+
- Windows 10 x64, Chrome 85.0.4183.102 (Official Build) (64-bit)
6363
- Core i5-8350U @ 1.70GHz, 8GB RAM
6464
- Intel HD 620 GPU, 2560x1440 res
6565

@@ -72,20 +72,20 @@ Raw data: https://github.com/leeoniya/uPlot/blob/master/bench/results.json
7272
<pre>
7373
| lib | size | done | js,rend,paint,sys | heap peak,final | interact (10s) |
7474
| -------------- | ------- | ------- | ----------------- | --------------- | ------------------- |
75-
| <a href="https://leeoniya.github.io/uPlot/bench/uPlot.html">uPlot</a> | 26 KB | 68 ms | 99 3 4 68 | 12 MB 4 MB | 196 458 135 264 |
76-
| <a href="https://leeoniya.github.io/uPlot/bench/Chart.js-next.html">Chart.js-next</a> | 222 KB | 189 ms | 275 3 3 95 | 32 MB 21 MB | 3411 35 112 6322 |
77-
| <a href="https://leeoniya.github.io/uPlot/bench/LightningChart.html">LightningChart</a> | 964 KB | --- ms | 378 4 2 70 | 24 MB 18 MB | 9647 32 59 113 |
78-
| <a href="https://leeoniya.github.io/uPlot/bench/dygraphs.html">dygraphs</a> | 125 KB | 190 ms | 286 5 3 174 | 57 MB 46 MB | 2329 272 333 415 |
79-
| <a href="https://leeoniya.github.io/uPlot/bench/CanvasJS.html">CanvasJS</a> | 477 KB | 320 ms | 400 4 2 103 | 40 MB 25 MB | 2282 541 337 481 |
80-
| <a href="https://leeoniya.github.io/uPlot/bench/Flot.html">Flot</a> | 494 KB | 320 ms | 205 7 6 307 | 24 MB 24 MB | --- |
81-
| <a href="https://leeoniya.github.io/uPlot/bench/dvxcharts.html">dvxcharts</a> | 369 KB | 347 ms | 633 41 45 72 | 42 MB 24 MB | 1476 891 294 280 |
82-
| <a href="https://leeoniya.github.io/uPlot/bench/Highcharts.html">Highcharts</a> | 381 KB | --- ms | 757 9 2 63 | 27 MB 23 MB | 1986 780 207 311 |
83-
| <a href="https://leeoniya.github.io/uPlot/bench/Chart.js.html">Chart.js</a> | 245 KB | 668 ms | 747 6 7 174 | 82 MB 76 MB | 5565 5 13 4111 |
84-
| <a href="https://leeoniya.github.io/uPlot/bench/Plotly.js.html">Plotly.js</a> | 3400 KB | 483 ms | 849 10 4 87 | 39 MB 24 MB | 1601 216 58 203 |
85-
| <a href="https://leeoniya.github.io/uPlot/bench/ECharts.html">ECharts</a> | 781 KB | --- ms | 789 4 9 1119 | 79 MB 79 MB | 2027 64 59 7696 |
86-
| <a href="https://leeoniya.github.io/uPlot/bench/ApexCharts.html">ApexCharts</a> | 459 KB | --- ms | 2298 30 135 61 | 151 MB 151 MB | 2223 259 7802 66 |
87-
| <a href="https://leeoniya.github.io/uPlot/bench/ZingChart.html">ZingChart</a> | 857 KB | 2632 ms | 2934 8 1 68 | 121 MB 97 MB | --- |
88-
| <a href="https://leeoniya.github.io/uPlot/bench/amCharts.html">amCharts</a> | 1200 KB | 6147 ms | 7159 56 15 112 | 251 MB 251 MB | 6244 1163 598 448 |
75+
| <a href="https://leeoniya.github.io/uPlot/bench/uPlot.html">uPlot</a> | 28 KB | 65 ms | 99 5 1 67 | 15 MB 3 MB | 198 371 129 237 |
76+
| <a href="https://leeoniya.github.io/uPlot/bench/Chart.js-next.html">Chart.js-next</a> | 229 KB | 235 ms | 289 2 1 95 | 32 MB 20 MB | 3604 34 46 6125 |
77+
| <a href="https://leeoniya.github.io/uPlot/bench/LightningChart.html">LightningChart</a> | 931 KB | --- ms | 356 3 1 70 | 26 MB 20 MB | 9114 65 55 272 |
78+
| <a href="https://leeoniya.github.io/uPlot/bench/dygraphs.html">dygraphs</a> | 125 KB | 185 ms | 260 4 2 171 | 93 MB 48 MB | 2294 241 114 404 |
79+
| <a href="https://leeoniya.github.io/uPlot/bench/CanvasJS.html">CanvasJS</a> | 479 KB | 323 ms | 378 5 1 93 | 40 MB 25 MB | 2173 457 119 397 |
80+
| <a href="https://leeoniya.github.io/uPlot/bench/Flot.html">Flot</a> | 494 KB | 334 ms | 202 7 2 283 | 24 MB 19 MB | --- |
81+
| <a href="https://leeoniya.github.io/uPlot/bench/dvxcharts.html">dvxcharts</a> | 369 KB | 326 ms | 585 34 2 62 | 62 MB 26 MB | 1394 717 204 270 |
82+
| <a href="https://leeoniya.github.io/uPlot/bench/Highcharts.html">Highcharts</a> | 384 KB | --- ms | 748 9 2 75 | 49 MB 21 MB | 2012 725 217 317 |
83+
| <a href="https://leeoniya.github.io/uPlot/bench/Chart.js.html">Chart.js</a> | 245 KB | 654 ms | 718 4 2 164 | 101 MB 85 MB | 5550 5 7 4020 |
84+
| <a href="https://leeoniya.github.io/uPlot/bench/Plotly.js.html">Plotly.js</a> | 3400 KB | 465 ms | 828 7 1 83 | 50 MB 28 MB | 1507 229 53 177 |
85+
| <a href="https://leeoniya.github.io/uPlot/bench/ECharts.html">ECharts</a> | 785 KB | --- ms | 718 6 7 1120 | 116 MB 77 MB | 2016 70 25 7856 |
86+
| <a href="https://leeoniya.github.io/uPlot/bench/ApexCharts.html">ApexCharts</a> | 460 KB | --- ms | 2137 28 3 73 | 170 MB 97 MB | 2030 220 28 122 |
87+
| <a href="https://leeoniya.github.io/uPlot/bench/ZingChart.html">ZingChart</a> | 857 KB | 2535 ms | 2711 7 1 66 | 143 MB 85 MB | --- |
88+
| <a href="https://leeoniya.github.io/uPlot/bench/amCharts.html">amCharts</a> | 1200 KB | 5825 ms | 7509 47 13 78 | 256 MB 256 MB | 6932 1288 282 512 |
8989
</pre>
9090

9191
- `size` includes the lib itself plus any dependencies required to render the benchmark, e.g. Moment, jQuery, etc.

bench/LightningChart.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ <h2 id="wait">Loading lib....</h2>
1010

1111
<script src="https://www.arction.com/lightningchart-js-interactive-examples//js/lcjs.iife.js"></script>
1212

13-
<div id="chart" style="width: 1920px; height: 600px;"></div>
14-
1513
<script>
1614
function round2(val) {
1715
return Math.round(val * 100) / 100;
@@ -63,11 +61,9 @@ <h2 id="wait">Loading lib....</h2>
6361

6462
const dateOrigin = new Date(1566453600000);
6563

66-
const chart = lightningChart().ChartXY({
67-
containerId: 'chart',
68-
defaultAxisXTickStrategy: AxisTickStrategies.DateTime(dateOrigin),
69-
});
64+
const chart = lightningChart().ChartXY();
7065

66+
chart.getDefaultAxisX().setTickStrategy(AxisTickStrategies.DateTime, tickStrategy => tickStrategy.setDateOrigin(dateOrigin));
7167
chart.getDefaultAxisX().setAnimationScroll(undefined);
7268
chart.getDefaultAxisX().setAnimationZoom(undefined);
7369
chart.getDefaultAxisY().setAnimationScroll(undefined);

bench/results.json

Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,123 +1,123 @@
11
[
22
[
33
"uPlot",
4-
26,
5-
68,
6-
[99,3,4,68],
7-
[12.4,4.0],
8-
[196,458,135,264],
9-
[46,10,8,61]
4+
28,
5+
65,
6+
[99,5,1,67],
7+
[15.3,3.0],
8+
[198,371,129,237],
9+
[53,10,4,56]
1010
],
1111
[
1212
"Chart.js-next",
13-
222,
14-
189,
15-
[275,3,3,95],
16-
[31.9,20.5],
17-
[3411,35,112,6322],
18-
[848,9,19,991]
13+
229,
14+
235,
15+
[289,2,1,95],
16+
[32.1,20.4],
17+
[3604,34,46,6125],
18+
[893,6,8,987]
1919
],
2020
[
2121
"LightningChart",
22-
964,
22+
931,
2323
null,
24-
[378,4,2,70],
25-
[23.6,17.6],
26-
[9647,32,59,113],
27-
[180,7,10,49]
24+
[356,3,1,70],
25+
[25.7,19.6],
26+
[9114,65,55,272],
27+
[143,7,5,22]
2828
],
2929
[
3030
"dygraphs",
3131
125,
32-
190,
33-
[286,5,3,174],
34-
[57.4,46.3],
35-
[2329,272,333,415]
32+
185,
33+
[260,4,2,171],
34+
[92.8,48.1],
35+
[2294,241,114,404]
3636
],
3737
[
3838
"CanvasJS",
39-
477,
40-
320,
41-
[400,4,2,103],
42-
[39.6,25.0],
43-
[2282,541,337,481]
39+
479,
40+
323,
41+
[378,5,1,93],
42+
[39.8,24.9],
43+
[2173,457,119,397]
4444
],
4545
[
4646
"Flot",
4747
494,
48-
320,
49-
[205,7,6,307],
50-
[23.9,23.9],
48+
334,
49+
[202,7,2,283],
50+
[23.8,19.0],
5151
null
5252
],
5353
[
5454
"dvxcharts",
5555
369,
56-
347,
57-
[633,41,45,72],
58-
[41.8,24.3],
59-
[1476,891,294,280],
60-
[2839,267,236,55]
56+
326,
57+
[585,34,2,62],
58+
[62.0,25.5],
59+
[1394,717,204,270],
60+
[2601,205,6,17]
6161
],
6262
[
6363
"Highcharts",
64-
381,
64+
384,
6565
null,
66-
[757,9,2,63],
67-
[26.8,22.6],
68-
[1986,780,207,311],
69-
[2602,89,31,78]
66+
[748,9,2,75],
67+
[48.7,20.6],
68+
[2012,725,217,317],
69+
[2535,79,27,62]
7070
],
7171
[
7272
"Chart.js",
7373
245,
74-
668,
75-
[747,6,7,174],
76-
[81.6,75.5],
77-
[5565,5,13,4111],
78-
[3549,5,7,1653]
74+
654,
75+
[718,4,2,164],
76+
[101,85.1],
77+
[5550,5,7,4020],
78+
[3421,4,3,1401]
7979
],
8080
[
8181
"Plotly.js",
8282
3400,
83-
483,
84-
[849,10,4,87],
85-
[39,23.9],
86-
[1601,216,58,203],
87-
[1084,70,32,99]
83+
465,
84+
[828,7,1,83],
85+
[50.2,28.2],
86+
[1507,229,53,177],
87+
[1022,66,22,101]
8888
],
8989
[
9090
"ECharts",
91-
781,
91+
785,
9292
null,
93-
[789,4,9,1119],
94-
[78.6,78.6],
95-
[2027,64,59,7696]
93+
[718,6,7,1120],
94+
[116,76.9],
95+
[2016,70,25,7856]
9696
],
9797
[
9898
"ApexCharts",
99-
459,
99+
460,
100100
null,
101-
[2298,30,135,61],
102-
[151,151],
103-
[2223,259,7802,66],
104-
[4593,90,1828,31]
101+
[2137,28,3,73],
102+
[170,96.9],
103+
[2030,220,28,122],
104+
[4201,86,8,24]
105105
],
106106
[
107107
"ZingChart",
108108
857,
109-
2632,
110-
[2934,8,1,68],
111-
[121,97.4],
109+
2535,
110+
[2711,7,1,66],
111+
[143,85.3],
112112
null
113113
],
114114
[
115115
"amCharts",
116116
1200,
117-
6147,
118-
[7159,56,15,112],
119-
[251,251],
120-
[6244,1163,598,448],
121-
[8932,40,63,205]
117+
5825,
118+
[7509,47,13,78],
119+
[256,256],
120+
[6932,1288,282,512],
121+
[8480,37,7,343]
122122
]
123123
]

bench/table.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
| lib | size | done | js,rend,paint,sys | heap peak,final | interact (10s) |
22
| -------------- | ------- | ------- | ----------------- | --------------- | ------------------- |
3-
| <a href="https://leeoniya.github.io/uPlot/bench/uPlot.html">uPlot</a> | 26 KB | 68 ms | 99 3 4 68 | 12 MB 4 MB | 196 458 135 264 |
4-
| <a href="https://leeoniya.github.io/uPlot/bench/Chart.js-next.html">Chart.js-next</a> | 222 KB | 189 ms | 275 3 3 95 | 32 MB 21 MB | 3411 35 112 6322 |
5-
| <a href="https://leeoniya.github.io/uPlot/bench/LightningChart.html">LightningChart</a> | 964 KB | --- ms | 378 4 2 70 | 24 MB 18 MB | 9647 32 59 113 |
6-
| <a href="https://leeoniya.github.io/uPlot/bench/dygraphs.html">dygraphs</a> | 125 KB | 190 ms | 286 5 3 174 | 57 MB 46 MB | 2329 272 333 415 |
7-
| <a href="https://leeoniya.github.io/uPlot/bench/CanvasJS.html">CanvasJS</a> | 477 KB | 320 ms | 400 4 2 103 | 40 MB 25 MB | 2282 541 337 481 |
8-
| <a href="https://leeoniya.github.io/uPlot/bench/Flot.html">Flot</a> | 494 KB | 320 ms | 205 7 6 307 | 24 MB 24 MB | --- |
9-
| <a href="https://leeoniya.github.io/uPlot/bench/dvxcharts.html">dvxcharts</a> | 369 KB | 347 ms | 633 41 45 72 | 42 MB 24 MB | 1476 891 294 280 |
10-
| <a href="https://leeoniya.github.io/uPlot/bench/Highcharts.html">Highcharts</a> | 381 KB | --- ms | 757 9 2 63 | 27 MB 23 MB | 1986 780 207 311 |
11-
| <a href="https://leeoniya.github.io/uPlot/bench/Chart.js.html">Chart.js</a> | 245 KB | 668 ms | 747 6 7 174 | 82 MB 76 MB | 5565 5 13 4111 |
12-
| <a href="https://leeoniya.github.io/uPlot/bench/Plotly.js.html">Plotly.js</a> | 3400 KB | 483 ms | 849 10 4 87 | 39 MB 24 MB | 1601 216 58 203 |
13-
| <a href="https://leeoniya.github.io/uPlot/bench/ECharts.html">ECharts</a> | 781 KB | --- ms | 789 4 9 1119 | 79 MB 79 MB | 2027 64 59 7696 |
14-
| <a href="https://leeoniya.github.io/uPlot/bench/ApexCharts.html">ApexCharts</a> | 459 KB | --- ms | 2298 30 135 61 | 151 MB 151 MB | 2223 259 7802 66 |
15-
| <a href="https://leeoniya.github.io/uPlot/bench/ZingChart.html">ZingChart</a> | 857 KB | 2632 ms | 2934 8 1 68 | 121 MB 97 MB | --- |
16-
| <a href="https://leeoniya.github.io/uPlot/bench/amCharts.html">amCharts</a> | 1200 KB | 6147 ms | 7159 56 15 112 | 251 MB 251 MB | 6244 1163 598 448 |
3+
| <a href="https://leeoniya.github.io/uPlot/bench/uPlot.html">uPlot</a> | 28 KB | 65 ms | 99 5 1 67 | 15 MB 3 MB | 198 371 129 237 |
4+
| <a href="https://leeoniya.github.io/uPlot/bench/Chart.js-next.html">Chart.js-next</a> | 229 KB | 235 ms | 289 2 1 95 | 32 MB 20 MB | 3604 34 46 6125 |
5+
| <a href="https://leeoniya.github.io/uPlot/bench/LightningChart.html">LightningChart</a> | 931 KB | --- ms | 356 3 1 70 | 26 MB 20 MB | 9114 65 55 272 |
6+
| <a href="https://leeoniya.github.io/uPlot/bench/dygraphs.html">dygraphs</a> | 125 KB | 185 ms | 260 4 2 171 | 93 MB 48 MB | 2294 241 114 404 |
7+
| <a href="https://leeoniya.github.io/uPlot/bench/CanvasJS.html">CanvasJS</a> | 479 KB | 323 ms | 378 5 1 93 | 40 MB 25 MB | 2173 457 119 397 |
8+
| <a href="https://leeoniya.github.io/uPlot/bench/Flot.html">Flot</a> | 494 KB | 334 ms | 202 7 2 283 | 24 MB 19 MB | --- |
9+
| <a href="https://leeoniya.github.io/uPlot/bench/dvxcharts.html">dvxcharts</a> | 369 KB | 326 ms | 585 34 2 62 | 62 MB 26 MB | 1394 717 204 270 |
10+
| <a href="https://leeoniya.github.io/uPlot/bench/Highcharts.html">Highcharts</a> | 384 KB | --- ms | 748 9 2 75 | 49 MB 21 MB | 2012 725 217 317 |
11+
| <a href="https://leeoniya.github.io/uPlot/bench/Chart.js.html">Chart.js</a> | 245 KB | 654 ms | 718 4 2 164 | 101 MB 85 MB | 5550 5 7 4020 |
12+
| <a href="https://leeoniya.github.io/uPlot/bench/Plotly.js.html">Plotly.js</a> | 3400 KB | 465 ms | 828 7 1 83 | 50 MB 28 MB | 1507 229 53 177 |
13+
| <a href="https://leeoniya.github.io/uPlot/bench/ECharts.html">ECharts</a> | 785 KB | --- ms | 718 6 7 1120 | 116 MB 77 MB | 2016 70 25 7856 |
14+
| <a href="https://leeoniya.github.io/uPlot/bench/ApexCharts.html">ApexCharts</a> | 460 KB | --- ms | 2137 28 3 73 | 170 MB 97 MB | 2030 220 28 122 |
15+
| <a href="https://leeoniya.github.io/uPlot/bench/ZingChart.html">ZingChart</a> | 857 KB | 2535 ms | 2711 7 1 66 | 143 MB 85 MB | --- |
16+
| <a href="https://leeoniya.github.io/uPlot/bench/amCharts.html">amCharts</a> | 1200 KB | 5825 ms | 7509 47 13 78 | 256 MB 256 MB | 6932 1288 282 512 |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"homepage": "https://github.com/leeoniya/uPlot#readme",
4141
"devDependencies": {
42-
"rollup": "^2.27.0",
42+
"rollup": "^2.27.1",
4343
"rollup-plugin-buble": "^0.19.8",
4444
"rollup-plugin-replace": "^2.2.0",
4545
"rollup-plugin-terser": "^7.0.2"

0 commit comments

Comments
 (0)