Last active
December 15, 2015 20:58
-
-
Save derek/5321971 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Y.Model: Instantiate a bare model | |
┌──────────┬────────────────────────────┬─────────────────────────────┐ | |
│ │ Firefox │ Chrome │ | |
├──────────┼────────────────────────────┼─────────────────────────────┤ | |
│ v3.8.0 │ 3971.37 ±2.80% (-87%) │ 11258.29 ±4.26% (-163%) │ | |
│ v3.9.0 │ 3596.12 ±5.37% (-107%) │ 11661.04 ±3.15% (-154%) │ | |
│ WIP │ 7444.50 ±3.80% (Fastest) │ 29661.83 ±3.30% (Fastest) │ | |
└──────────┴────────────────────────────┴─────────────────────────────┘ | |
Y.Model: Subclass and instantiate a bare model | |
┌──────────┬────────────────────────────┬────────────────────────────┐ | |
│ │ Firefox │ Chrome │ | |
├──────────┼────────────────────────────┼────────────────────────────┤ | |
│ v3.8.0 │ 1998.22 ±3.56% (-35%) │ 2989.98 ±2.94% (-33%) │ | |
│ v3.9.0 │ 2046.10 ±3.59% (-32%) │ 2943.36 ±2.97% (-35%) │ | |
│ WIP │ 2706.35 ±6.16% (Fastest) │ 3984.49 ±3.86% (Fastest) │ | |
└──────────┴────────────────────────────┴────────────────────────────┘ | |
Y.View: Instantiate a bare view | |
┌──────────┬────────────────────────────┬─────────────────────────────┐ | |
│ │ Firefox │ Chrome │ | |
├──────────┼────────────────────────────┼─────────────────────────────┤ | |
│ v3.8.0 │ 3861.10 ±3.03% (-97%) │ 9203.60 ±4.73% (-120%) │ | |
│ v3.9.0 │ 3823.37 ±2.99% (-99%) │ 8940.10 ±4.28% (-127%) │ | |
│ WIP │ 7595.68 ±3.95% (Fastest) │ 20288.56 ±2.94% (Fastest) │ | |
└──────────┴────────────────────────────┴─────────────────────────────┘ | |
Y.View: Instantiate and subclass a bare view | |
┌──────────┬────────────────────────────┬────────────────────────────┐ | |
│ │ Firefox │ Chrome │ | |
├──────────┼────────────────────────────┼────────────────────────────┤ | |
│ v3.8.0 │ 2071.16 ±1.91% (-36%) │ 2911.16 ±3.50% (-34%) │ | |
│ v3.9.0 │ 2019.83 ±4.55% (-39%) │ 3056.98 ±2.69% (-28%) │ | |
│ WIP │ 2809.66 ±5.01% (Fastest) │ 3911.84 ±2.62% (Fastest) │ | |
└──────────┴────────────────────────────┴────────────────────────────┘ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NumericAxis | |
┌──────────┬───────────────────────────┬───────────────────────────┬──────────────────────────┐ | |
│ │ Chrome │ PhantomJS │ Firefox │ | |
├──────────┼───────────────────────────┼───────────────────────────┼──────────────────────────┤ | |
│ v3.8.0 │ 107.77 ±4.04% (-12%) │ 155.40 ±1.97% (-19%) │ 46.21 ±2.99% (-11%) │ | |
│ v3.9.0 │ 99.11 ±4.80% (-22%) │ 143.23 ±2.57% (-29%) │ 44.04 ±3.39% (-16%) │ | |
│ WIP │ 120.83 ±4.24% (Fastest) │ 184.16 ±1.31% (Fastest) │ 51.14 ±3.96% (Fastest) │ | |
└──────────┴───────────────────────────┴───────────────────────────┴──────────────────────────┘ | |
CategoryAxis | |
┌──────────┬───────────────────────────┬───────────────────────────┬──────────────────────────┐ | |
│ │ Chrome │ PhantomJS │ Firefox │ | |
├──────────┼───────────────────────────┼───────────────────────────┼──────────────────────────┤ | |
│ v3.8.0 │ 139.84 ±4.09% (-16%) │ 192.94 ±1.90% (-22%) │ 63.13 ±4.33% (-42%) │ | |
│ v3.9.0 │ 138.79 ±5.95% (-17%) │ 180.12 ±2.06% (-31%) │ 62.90 ±4.82% (-43%) │ | |
│ WIP │ 162.72 ±4.29% (Fastest) │ 235.76 ±2.98% (Fastest) │ 89.64 ±4.18% (Fastest) │ | |
└──────────┴───────────────────────────┴───────────────────────────┴──────────────────────────┘ | |
TimeAxis | |
┌──────────┬───────────────────────────┬───────────────────────────┬──────────────────────────┐ | |
│ │ Chrome │ PhantomJS │ Firefox │ | |
├──────────┼───────────────────────────┼───────────────────────────┼──────────────────────────┤ | |
│ v3.8.0 │ 95.47 ±3.41% (-26%) │ 137.42 ±2.03% (-14%) │ 42.05 ±4.49% (-59%) │ | |
│ v3.9.0 │ 94.23 ±3.45% (-28%) │ 132.12 ±4.01% (-18%) │ 45.27 ±3.56% (-48%) │ | |
│ WIP │ 120.29 ±3.26% (Fastest) │ 156.25 ±3.20% (Fastest) │ 66.85 ±2.26% (Fastest) │ | |
└──────────┴───────────────────────────┴───────────────────────────┴──────────────────────────┘ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
derek@ybook:~/src/yui/yui3/src/base/tests/benchmark:dev-3.x $ yb base-benchmark.js --ref=v3.8.0 | |
/Users/derek/src/yui/yui3/src/base/tests/benchmark/base-benchmark.js | |
yui-benchmark [info] v3.8.0: Seed detected. Ready! | |
yui-benchmark [info] WIP: Seed detected. Ready! | |
yui-benchmark [info] Listening at http://127.0.0.1:3000 | |
yui-benchmark [info] Serving task 0 to Chrome | |
yui-benchmark [info] Serving task 0 to Firefox | |
yui-benchmark [info] Serving task 1 to Chrome | |
yui-benchmark [info] Serving task 1 to Firefox | |
Base | |
┌──────────┬─────────────────────────────┬─────────────────────────────┐ | |
│ │ Chrome │ Firefox │ | |
├──────────┼─────────────────────────────┼─────────────────────────────┤ | |
│ v3.8.0 │ 12969.89 ±3.67% (-255%) │ 5208.99 ±2.47% (-113%) │ | |
│ WIP │ 46073.26 ±3.16% (Fastest) │ 11102.57 ±1.31% (Fastest) │ | |
└──────────┴─────────────────────────────┴─────────────────────────────┘ | |
MyBase | |
┌──────────┬─────────────────────────────┬─────────────────────────────┐ | |
│ │ Chrome │ Firefox │ | |
├──────────┼─────────────────────────────┼─────────────────────────────┤ | |
│ v3.8.0 │ 13033.00 ±3.77% (-247%) │ 5230.03 ±1.65% (-104%) │ | |
│ WIP │ 45159.65 ±2.22% (Fastest) │ 10648.53 ±1.22% (Fastest) │ | |
└──────────┴─────────────────────────────┴─────────────────────────────┘ | |
MyBase with 10 simple value attributes | |
┌──────────┬─────────────────────────────┬────────────────────────────┐ | |
│ │ Chrome │ Firefox │ | |
├──────────┼─────────────────────────────┼────────────────────────────┤ | |
│ v3.8.0 │ 9265.30 ±3.48% (-168%) │ 3674.29 ±1.88% (-97%) │ | |
│ WIP │ 24819.39 ±3.07% (Fastest) │ 7246.19 ±1.68% (Fastest) │ | |
└──────────┴─────────────────────────────┴────────────────────────────┘ | |
MyBase with 20 varied attributes | |
┌──────────┬────────────────────────────┬────────────────────────────┐ | |
│ │ Chrome │ Firefox │ | |
├──────────┼────────────────────────────┼────────────────────────────┤ | |
│ v3.8.0 │ 5139.59 ±2.47% (-59%) │ 2245.17 ±2.61% (-75%) │ | |
│ WIP │ 8177.60 ±4.00% (Fastest) │ 3930.18 ±1.49% (Fastest) │ | |
└──────────┴────────────────────────────┴────────────────────────────┘ | |
MyBase with 10 simple value attributes - set | |
┌──────────┬──────────────────────────────┬─────────────────────────────┐ | |
│ │ Chrome │ Firefox │ | |
├──────────┼──────────────────────────────┼─────────────────────────────┤ | |
│ v3.8.0 │ 85255.30 ±2.52% (-280%) │ 22262.15 ±2.76% (-197%) │ | |
│ WIP │ 323789.25 ±1.29% (Fastest) │ 66213.89 ±0.86% (Fastest) │ | |
└──────────┴──────────────────────────────┴─────────────────────────────┘ | |
MyBase with 10 simple value attributes - get | |
┌──────────┬────────────────────────────────┬──────────────────────────────┐ | |
│ │ Chrome │ Firefox │ | |
├──────────┼────────────────────────────────┼──────────────────────────────┤ | |
│ v3.8.0 │ 2525389.76 ±0.49% (-358%) │ 332931.37 ±0.55% (-125%) │ | |
│ WIP │ 11567312.48 ±0.60% (Fastest) │ 749106.74 ±0.67% (Fastest) │ | |
└──────────┴────────────────────────────────┴──────────────────────────────┘ | |
BaseCore | |
┌──────────┬──────────────────────────────┬─────────────────────────────┐ | |
│ │ Chrome │ Firefox │ | |
├──────────┼──────────────────────────────┼─────────────────────────────┤ | |
│ v3.8.0 │ 37270.15 ±1.86% (-301%) │ 15600.31 ±0.69% (-89%) │ | |
│ WIP │ 149618.74 ±2.62% (Fastest) │ 29472.56 ±0.81% (Fastest) │ | |
└──────────┴──────────────────────────────┴─────────────────────────────┘ | |
MyBaseCore | |
┌──────────┬──────────────────────────────┬─────────────────────────────┐ | |
│ │ Chrome │ Firefox │ | |
├──────────┼──────────────────────────────┼─────────────────────────────┤ | |
│ v3.8.0 │ 41539.20 ±4.32% (-246%) │ 14580.92 ±0.99% (-91%) │ | |
│ WIP │ 143669.59 ±1.22% (Fastest) │ 27787.25 ±0.81% (Fastest) │ | |
└──────────┴──────────────────────────────┴─────────────────────────────┘ | |
MyBaseCore with 10 simple value attributes | |
┌──────────┬─────────────────────────────┬─────────────────────────────┐ | |
│ │ Chrome │ Firefox │ | |
├──────────┼─────────────────────────────┼─────────────────────────────┤ | |
│ v3.8.0 │ 16571.34 ±3.24% (-159%) │ 6557.99 ±1.70% (-85%) │ | |
│ WIP │ 42846.51 ±1.75% (Fastest) │ 12141.63 ±1.32% (Fastest) │ | |
└──────────┴─────────────────────────────┴─────────────────────────────┘ | |
MyBaseCore with 20 varied attributes | |
┌──────────┬────────────────────────────┬────────────────────────────┐ | |
│ │ Chrome │ Firefox │ | |
├──────────┼────────────────────────────┼────────────────────────────┤ | |
│ v3.8.0 │ 7028.57 ±3.00% (-25%) │ 3446.07 ±1.36% (-40%) │ | |
│ WIP │ 8783.22 ±4.68% (Fastest) │ 4817.33 ±1.58% (Fastest) │ | |
└──────────┴────────────────────────────┴────────────────────────────┘ | |
MyBaseCore with 20 varied attributes (using perf. best practices) | |
┌──────────┬─────────────────────────────┬────────────────────────────┐ | |
│ │ Chrome │ Firefox │ | |
├──────────┼─────────────────────────────┼────────────────────────────┤ | |
│ v3.8.0 │ 9682.22 ±2.99% (-98%) │ 4156.06 ±0.99% (-64%) │ | |
│ WIP │ 19151.20 ±2.50% (Fastest) │ 6812.74 ±0.91% (Fastest) │ | |
└──────────┴─────────────────────────────┴────────────────────────────┘ | |
MyModelCore with 2 ad-hoc attrs | |
┌──────────┬─────────────────────────────┬─────────────────────────────┐ | |
│ │ Chrome │ Firefox │ | |
├──────────┼─────────────────────────────┼─────────────────────────────┤ | |
│ v3.8.0 │ 35085.70 ±3.25% (-133%) │ 11523.40 ±0.82% (-79%) │ | |
│ WIP │ 81827.27 ±2.10% (Fastest) │ 20599.20 ±1.00% (Fastest) │ | |
└──────────┴─────────────────────────────┴─────────────────────────────┘ | |
MyModel with 2 ad-hoc attrs | |
┌──────────┬─────────────────────────────┬────────────────────────────┐ | |
│ │ Chrome │ Firefox │ | |
├──────────┼─────────────────────────────┼────────────────────────────┤ | |
│ v3.8.0 │ 12244.48 ±4.22% (-173%) │ 4580.27 ±2.61% (-109%) │ | |
│ WIP │ 33383.26 ±3.07% (Fastest) │ 9558.02 ±1.51% (Fastest) │ | |
└──────────┴─────────────────────────────┴────────────────────────────┘ | |
Ref to SHA table | |
┌──────────┬────────────────────────────────────────────┐ | |
│ Ref │ SHA │ | |
├──────────┼────────────────────────────────────────────┤ | |
│ v3.8.0 │ d89374d7213ad8260e5004200e8f99efd54e705b │ | |
│ WIP │ (work in progress) │ | |
└──────────┴────────────────────────────────────────────┘ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ScrollView: Create | |
┌──────────┬────────────────────────────┐ | |
│ │ PhantomJS │ | |
├──────────┼────────────────────────────┤ | |
│ v3.8.0 │ 251.50 ±14.30% (-8%) │ | |
│ v3.9.0 │ 255.60 ±14.21% (-7%) │ | |
│ WIP │ 272.78 ±20.97% (Fastest) │ | |
└──────────┴────────────────────────────┘ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment