Update bench tests and results
This commit is contained in:
parent
37115fef7a
commit
fd9e90983f
|
@ -22,7 +22,7 @@ const chartOptions = (title, displayLegend, yTick = t => t) => ({
|
|||
},
|
||||
scales: {
|
||||
xAxes: [{
|
||||
barPercentage: 0.5,
|
||||
barPercentage: 0.25,
|
||||
gridLines: {
|
||||
color: '#e2e2e2',
|
||||
},
|
||||
|
@ -36,8 +36,6 @@ const chartOptions = (title, displayLegend, yTick = t => t) => ({
|
|||
color: '#ccc',
|
||||
},
|
||||
ticks: {
|
||||
min: 0,
|
||||
max: 1,
|
||||
callback: yTick,
|
||||
fontColor: '#666',
|
||||
fontSize: 20,
|
||||
|
|
|
@ -1,218 +1,236 @@
|
|||
{
|
||||
"Amazon.html": {
|
||||
"original": {
|
||||
"absolute": 572775,
|
||||
"absolute": 367015,
|
||||
"relative": 1
|
||||
},
|
||||
"hyperbuild-nodejs": {
|
||||
"absolute": 493190,
|
||||
"relative": 0.8610536423552005
|
||||
"absolute": 353050,
|
||||
"relative": 0.9619497840687711
|
||||
},
|
||||
"html-minifier": {
|
||||
"absolute": 488822,
|
||||
"relative": 0.8534276111911309
|
||||
"absolute": 351955,
|
||||
"relative": 0.9589662547852268
|
||||
},
|
||||
"minimize": {
|
||||
"absolute": 495105,
|
||||
"relative": 0.8643970145345031
|
||||
"absolute": 358129,
|
||||
"relative": 0.9757884555127174
|
||||
}
|
||||
},
|
||||
"BBC.html": {
|
||||
"original": {
|
||||
"absolute": 400787,
|
||||
"absolute": 245680,
|
||||
"relative": 1
|
||||
},
|
||||
"hyperbuild-nodejs": {
|
||||
"absolute": 297113,
|
||||
"relative": 0.7413239451379411
|
||||
"absolute": 231552,
|
||||
"relative": 0.9424943015304461
|
||||
},
|
||||
"html-minifier": {
|
||||
"absolute": 298773,
|
||||
"relative": 0.7454657960462789
|
||||
"absolute": 233884,
|
||||
"relative": 0.9519863236730707
|
||||
},
|
||||
"minimize": {
|
||||
"absolute": 298840,
|
||||
"relative": 0.7456329671371577
|
||||
"absolute": 238025,
|
||||
"relative": 0.9688415825464018
|
||||
}
|
||||
},
|
||||
"Bing.html": {
|
||||
"original": {
|
||||
"absolute": 155661,
|
||||
"absolute": 91242,
|
||||
"relative": 1
|
||||
},
|
||||
"hyperbuild-nodejs": {
|
||||
"absolute": 137191,
|
||||
"relative": 0.8813447170453742
|
||||
"absolute": 89811,
|
||||
"relative": 0.9843164332215427
|
||||
},
|
||||
"html-minifier": {
|
||||
"absolute": 137026,
|
||||
"relative": 0.8802847212853573
|
||||
"absolute": 89834,
|
||||
"relative": 0.9845685101159554
|
||||
},
|
||||
"minimize": {
|
||||
"absolute": 137358,
|
||||
"relative": 0.882417561238846
|
||||
"absolute": 90222,
|
||||
"relative": 0.9888209377260472
|
||||
}
|
||||
},
|
||||
"Bootstrap.html": {
|
||||
"original": {
|
||||
"absolute": 369435,
|
||||
"absolute": 309742,
|
||||
"relative": 1
|
||||
},
|
||||
"hyperbuild-nodejs": {
|
||||
"absolute": 272622,
|
||||
"relative": 0.7379430752365098
|
||||
"absolute": 271254,
|
||||
"relative": 0.8757417463566453
|
||||
},
|
||||
"html-minifier": {
|
||||
"absolute": 270604,
|
||||
"relative": 0.732480679957232
|
||||
"absolute": 270355,
|
||||
"relative": 0.8728393307978899
|
||||
},
|
||||
"minimize": {
|
||||
"absolute": 279252,
|
||||
"relative": 0.7558893986763572
|
||||
"absolute": 278990,
|
||||
"relative": 0.900717371231541
|
||||
}
|
||||
},
|
||||
"Coding Horror.html": {
|
||||
"original": {
|
||||
"absolute": 126036,
|
||||
"absolute": 84628,
|
||||
"relative": 1
|
||||
},
|
||||
"hyperbuild-nodejs": {
|
||||
"absolute": 80085,
|
||||
"relative": 0.6354136913262878
|
||||
"absolute": 79875,
|
||||
"relative": 0.9438365552772132
|
||||
},
|
||||
"html-minifier": {
|
||||
"absolute": 79394,
|
||||
"relative": 0.6299311307880289
|
||||
"absolute": 79273,
|
||||
"relative": 0.9367230703785981
|
||||
},
|
||||
"minimize": {
|
||||
"absolute": 81975,
|
||||
"relative": 0.650409406836142
|
||||
"absolute": 81844,
|
||||
"relative": 0.9671030864489294
|
||||
}
|
||||
},
|
||||
"ECMA-262.html": {
|
||||
"original": {
|
||||
"absolute": 6316389,
|
||||
"relative": 1
|
||||
},
|
||||
"hyperbuild-nodejs": {
|
||||
"absolute": 5719969,
|
||||
"relative": 0.9055757965508457
|
||||
},
|
||||
"html-minifier": {
|
||||
"absolute": 5663106,
|
||||
"relative": 0.896573342775437
|
||||
},
|
||||
"minimize": {
|
||||
"absolute": 5799350,
|
||||
"relative": 0.9181432619175292
|
||||
}
|
||||
},
|
||||
"Google.html": {
|
||||
"original": {
|
||||
"absolute": 392903,
|
||||
"absolute": 197044,
|
||||
"relative": 1
|
||||
},
|
||||
"hyperbuild-nodejs": {
|
||||
"absolute": 384569,
|
||||
"relative": 0.9787886577603123
|
||||
"absolute": 196435,
|
||||
"relative": 0.9969093197458435
|
||||
},
|
||||
"html-minifier": {
|
||||
"absolute": 383578,
|
||||
"relative": 0.9762664067212518
|
||||
"absolute": 196322,
|
||||
"relative": 0.9963358437709344
|
||||
},
|
||||
"minimize": {
|
||||
"absolute": 384579,
|
||||
"relative": 0.978814109334874
|
||||
"absolute": 196530,
|
||||
"relative": 0.9973914455654574
|
||||
}
|
||||
},
|
||||
"Hacker News.html": {
|
||||
"original": {
|
||||
"absolute": 55953,
|
||||
"absolute": 34491,
|
||||
"relative": 1
|
||||
},
|
||||
"hyperbuild-nodejs": {
|
||||
"absolute": 28918,
|
||||
"relative": 0.5168266223437528
|
||||
"absolute": 28949,
|
||||
"relative": 0.8393204024238207
|
||||
},
|
||||
"html-minifier": {
|
||||
"absolute": 28448,
|
||||
"relative": 0.5084267152788948
|
||||
"absolute": 28593,
|
||||
"relative": 0.8289988692702445
|
||||
},
|
||||
"minimize": {
|
||||
"absolute": 30643,
|
||||
"relative": 0.5476560684860508
|
||||
"absolute": 30782,
|
||||
"relative": 0.8924647009364762
|
||||
}
|
||||
},
|
||||
"NY Times.html": {
|
||||
"original": {
|
||||
"absolute": 1982946,
|
||||
"absolute": 945220,
|
||||
"relative": 1
|
||||
},
|
||||
"hyperbuild-nodejs": {
|
||||
"absolute": 1888685,
|
||||
"relative": 0.9524641619085946
|
||||
"absolute": 941143,
|
||||
"relative": 0.9956867184359197
|
||||
},
|
||||
"html-minifier": {
|
||||
"absolute": 1887947,
|
||||
"relative": 0.9520919883849586
|
||||
"absolute": 940656,
|
||||
"relative": 0.9951714944668966
|
||||
},
|
||||
"minimize": {
|
||||
"absolute": 1888704,
|
||||
"relative": 0.9524737436117776
|
||||
"absolute": 941960,
|
||||
"relative": 0.9965510674763547
|
||||
}
|
||||
},
|
||||
"Reddit.html": {
|
||||
"original": {
|
||||
"absolute": 1542845,
|
||||
"absolute": 671886,
|
||||
"relative": 1
|
||||
},
|
||||
"hyperbuild-nodejs": {
|
||||
"absolute": 1116262,
|
||||
"relative": 0.7235088424307043
|
||||
"absolute": 668280,
|
||||
"relative": 0.994633018101285
|
||||
},
|
||||
"html-minifier": {
|
||||
"absolute": 1115617,
|
||||
"relative": 0.7230907835848708
|
||||
"absolute": 667808,
|
||||
"relative": 0.9939305179747755
|
||||
},
|
||||
"minimize": {
|
||||
"absolute": 1117526,
|
||||
"relative": 0.7243281081378882
|
||||
"absolute": 668652,
|
||||
"relative": 0.995186683455229
|
||||
}
|
||||
},
|
||||
"Stack Overflow.html": {
|
||||
"original": {
|
||||
"absolute": 154899,
|
||||
"absolute": 112268,
|
||||
"relative": 1
|
||||
},
|
||||
"hyperbuild-nodejs": {
|
||||
"absolute": 89844,
|
||||
"relative": 0.5800166560145643
|
||||
"absolute": 86850,
|
||||
"relative": 0.7735953254711939
|
||||
},
|
||||
"html-minifier": {
|
||||
"absolute": 89321,
|
||||
"relative": 0.5766402623645085
|
||||
"absolute": 86422,
|
||||
"relative": 0.7697830192040475
|
||||
},
|
||||
"minimize": {
|
||||
"absolute": 91363,
|
||||
"relative": 0.589823045984803
|
||||
"absolute": 89721,
|
||||
"relative": 0.7991680621370293
|
||||
}
|
||||
},
|
||||
"Twitter.html": {
|
||||
"original": {
|
||||
"absolute": 300803,
|
||||
"absolute": 315988,
|
||||
"relative": 1
|
||||
},
|
||||
"hyperbuild-nodejs": {
|
||||
"absolute": 281124,
|
||||
"relative": 0.9345784450288063
|
||||
"absolute": 273313,
|
||||
"relative": 0.8649474030659392
|
||||
},
|
||||
"html-minifier": {
|
||||
"absolute": 273174,
|
||||
"relative": 0.9081491873418815
|
||||
"absolute": 265976,
|
||||
"relative": 0.8417281668924136
|
||||
},
|
||||
"minimize": {
|
||||
"absolute": 273887,
|
||||
"relative": 0.9105195094463818
|
||||
"absolute": 308694,
|
||||
"relative": 0.9769168449434789
|
||||
}
|
||||
},
|
||||
"Wikipedia.html": {
|
||||
"original": {
|
||||
"absolute": 2439928,
|
||||
"absolute": 1411155,
|
||||
"relative": 1
|
||||
},
|
||||
"hyperbuild-nodejs": {
|
||||
"absolute": 1354680,
|
||||
"relative": 0.5552131046489897
|
||||
"absolute": 1342122,
|
||||
"relative": 0.9510804978900262
|
||||
},
|
||||
"html-minifier": {
|
||||
"absolute": 1307563,
|
||||
"relative": 0.5359022889200009
|
||||
"absolute": 1308864,
|
||||
"relative": 0.927512569490949
|
||||
},
|
||||
"minimize": {
|
||||
"absolute": 1368203,
|
||||
"relative": 0.5607554813092845
|
||||
"absolute": 1369798,
|
||||
"relative": 0.9706928012868891
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 30 KiB |
102
bench/speed.json
102
bench/speed.json
|
@ -1,74 +1,80 @@
|
|||
{
|
||||
"Amazon.html": {
|
||||
"hyperbuild": 440.8132965717429,
|
||||
"hyperbuild-nodejs": 421.69855021276993,
|
||||
"html-minifier": 17.258795822465824,
|
||||
"minimize": 90.55958994772226
|
||||
"hyperbuild": 465.50245835303156,
|
||||
"hyperbuild-nodejs": 455.0487568010082,
|
||||
"html-minifier": 42.132362101867265,
|
||||
"minimize": 114.1876564245339
|
||||
},
|
||||
"BBC.html": {
|
||||
"hyperbuild": 492.0329453689757,
|
||||
"hyperbuild-nodejs": 471.8584948307175,
|
||||
"html-minifier": 19.7020352249727,
|
||||
"minimize": 104.87178415350614
|
||||
"hyperbuild": 487.9227758294946,
|
||||
"hyperbuild-nodejs": 469.00501299771,
|
||||
"html-minifier": 45.539082044496425,
|
||||
"minimize": 142.67976760586086
|
||||
},
|
||||
"Bootstrap.html": {
|
||||
"hyperbuild": 231.09665327117622,
|
||||
"hyperbuild-nodejs": 226.67498352524473,
|
||||
"html-minifier": 8.226880597761307,
|
||||
"minimize": 20.13372742812355
|
||||
"hyperbuild": 211.4224043526581,
|
||||
"hyperbuild-nodejs": 212.90708528176216,
|
||||
"html-minifier": 9.185406543150869,
|
||||
"minimize": 23.327303724107708
|
||||
},
|
||||
"Bing.html": {
|
||||
"hyperbuild": 1778.4702078625266,
|
||||
"hyperbuild-nodejs": 1658.794145375611,
|
||||
"html-minifier": 83.98091409603377,
|
||||
"minimize": 384.94817410652996
|
||||
"hyperbuild": 2048.4087148940653,
|
||||
"hyperbuild-nodejs": 1994.5824867881042,
|
||||
"html-minifier": 227.72432719779127,
|
||||
"minimize": 546.3653509215457
|
||||
},
|
||||
"Coding Horror.html": {
|
||||
"hyperbuild": 1168.2795366543119,
|
||||
"hyperbuild-nodejs": 1078.459574380092,
|
||||
"html-minifier": 46.48112183626401,
|
||||
"minimize": 153.319841453279
|
||||
"hyperbuild": 1026.0665966280021,
|
||||
"hyperbuild-nodejs": 1002.065473186622,
|
||||
"html-minifier": 57.63675661339994,
|
||||
"minimize": 188.64083891044802
|
||||
},
|
||||
"ECMA-262.html": {
|
||||
"hyperbuild": 12.86713855992782,
|
||||
"hyperbuild-nodejs": 12.477324823911884,
|
||||
"html-minifier": 0.5195474427689735,
|
||||
"minimize": 1.3164929278223723
|
||||
},
|
||||
"Google.html": {
|
||||
"hyperbuild": 1114.801076060868,
|
||||
"hyperbuild-nodejs": 1019.3514619651979,
|
||||
"html-minifier": 30.027167989715412,
|
||||
"minimize": 332.2243603934142
|
||||
"hyperbuild": 1883.669674755918,
|
||||
"hyperbuild-nodejs": 1756.2993142315204,
|
||||
"html-minifier": 332.19134317308385,
|
||||
"minimize": 580.4716141570754
|
||||
},
|
||||
"Hacker News.html": {
|
||||
"hyperbuild": 1792.733771310799,
|
||||
"hyperbuild-nodejs": 1733.4960660597985,
|
||||
"html-minifier": 66.72358457316844,
|
||||
"minimize": 227.14057132045096
|
||||
"hyperbuild": 1722.167784079985,
|
||||
"hyperbuild-nodejs": 1688.259096611799,
|
||||
"html-minifier": 87.14413060022541,
|
||||
"minimize": 271.02689069188085
|
||||
},
|
||||
"NY Times.html": {
|
||||
"hyperbuild": 205.6615989494327,
|
||||
"hyperbuild-nodejs": 184.89340003459205,
|
||||
"html-minifier": 8.051220803993862,
|
||||
"minimize": 57.913234028121984
|
||||
"hyperbuild": 322.3939564734156,
|
||||
"hyperbuild-nodejs": 303.0917508322731,
|
||||
"html-minifier": 41.90685076570727,
|
||||
"minimize": 104.3222139613737
|
||||
},
|
||||
"Reddit.html": {
|
||||
"hyperbuild": 186.794516149638,
|
||||
"hyperbuild-nodejs": 174.40078706592806,
|
||||
"html-minifier": 6.803778440125968,
|
||||
"minimize": 38.92901486989761
|
||||
"hyperbuild": 365.45195046927216,
|
||||
"hyperbuild-nodejs": 347.2682176821133,
|
||||
"html-minifier": 44.22015518636509,
|
||||
"minimize": 118.24035770803926
|
||||
},
|
||||
"Stack Overflow.html": {
|
||||
"hyperbuild": 785.6645799343813,
|
||||
"hyperbuild-nodejs": 744.9855971158657,
|
||||
"html-minifier": 40.301363056633434,
|
||||
"minimize": 136.9552445217857
|
||||
"hyperbuild": 717.9290791655839,
|
||||
"hyperbuild-nodejs": 701.7259205288996,
|
||||
"html-minifier": 49.142772908926695,
|
||||
"minimize": 157.39557262183592
|
||||
},
|
||||
"Twitter.html": {
|
||||
"hyperbuild": 368.20636689648717,
|
||||
"hyperbuild-nodejs": 347.59122908382204,
|
||||
"html-minifier": 42.309450954465014,
|
||||
"minimize": 135.2904116989639
|
||||
"hyperbuild": 268.6410506444874,
|
||||
"hyperbuild-nodejs": 251.62962766725312,
|
||||
"html-minifier": 42.17252196756126,
|
||||
"minimize": 164.92088297175664
|
||||
},
|
||||
"Wikipedia.html": {
|
||||
"hyperbuild": 51.59259861536417,
|
||||
"hyperbuild-nodejs": 51.17247467198595,
|
||||
"html-minifier": 2.3748941300695545,
|
||||
"minimize": 7.740053597200842
|
||||
"hyperbuild": 47.84321953380644,
|
||||
"hyperbuild-nodejs": 46.509118305923565,
|
||||
"html-minifier": 3.1796252429460234,
|
||||
"minimize": 8.686220803188926
|
||||
}
|
||||
}
|
BIN
bench/speed.png
BIN
bench/speed.png
Binary file not shown.
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
13786
bench/tests/Amazon.html
13786
bench/tests/Amazon.html
File diff suppressed because one or more lines are too long
9347
bench/tests/BBC.html
9347
bench/tests/BBC.html
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
12730
bench/tests/Google.html
12730
bench/tests/Google.html
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
36382
bench/tests/Reddit.html
36382
bench/tests/Reddit.html
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue