Skip to content

Instantly share code, notes, and snippets.

@gskachkov
Last active August 1, 2016 07:57
Show Gist options
  • Save gskachkov/c8ed1c19562e3ad2cda3805ee2de96a7 to your computer and use it in GitHub Desktop.
Save gskachkov/c8ed1c19562e3ad2cda3805ee2de96a7 to your computer and use it in GitHub Desktop.
Performance test of the jsc with POC, without POC, and without Arrow function
VMs tested:
"without_af" at /Users/Developer/Projects/Webkit2/WebKitBuild/without_af/Release/jsc
"without_poc" at /Users/Developer/Projects/Webkit2/WebKitBuild/without_poc/Release/jsc
"poc_af" at /Users/Developer/Projects/Webkit2/WebKitBuild/poc_af/Release/jsc
Collected 4 samples per benchmark/VM, with 4 VM invocations per benchmark. Ran 10 benchmark iterations, and measured the
total time of those iterations, for each sample. Emitted a call to gc() between sample measurements. Used 50 benchmark
iterations per VM invocation for warm-up. Used the jsc-specific preciseTime() function to get microsecond-level timing.
Reporting benchmark execution times with 95% confidence intervals in milliseconds.
without_af without_poc poc_af poc_af v. without_af
encrypt 2.61598+-0.10093 ? 2.74751+-0.36649 2.72767+-0.16502 ? might be 1.0427x slower
decrypt 49.50869+-9.24051 47.36329+-2.74222 46.44214+-0.40447 might be 1.0660x faster
deltablue x2 2.12637+-0.23699 ? 2.13213+-0.23333 ? 2.28317+-0.45673 ? might be 1.0737x slower
earley 4.74634+-0.06328 ? 4.77931+-0.06401 4.72328+-0.11114
boyer 74.40397+-0.53607 ? 74.95022+-1.17398 ? 75.75321+-2.85439 ? might be 1.0181x slower
navier-stokes x2 66.57483+-0.84270 ? 68.82358+-6.48868 67.87624+-3.58156 ? might be 1.0195x slower
raytrace x2 13.67557+-0.21261 ? 14.02301+-0.61938 14.02213+-0.17096 ? might be 1.0253x slower
richards x2 1.34558+-0.01645 1.33077+-0.06338 1.27856+-0.10522 might be 1.0524x faster
splay x2 6.65118+-0.30916 ? 6.86606+-0.36849 ? 6.89913+-0.36596 ? might be 1.0373x slower
regexp x2 264.72060+-7.91731 ? 267.24445+-8.82598 262.29958+-2.69221
pdfjs x2 644.85171+-11.57314 ? 654.19040+-22.27805 ? 672.03798+-50.33090 ? might be 1.0422x slower
mandreel x2 672.42999+-100.24040 ? 680.14561+-114.86068 671.50546+-19.81005
gbemu x2 470.36913+-73.54045 452.68555+-30.01809 443.29694+-14.06981 might be 1.0611x faster
closure 7.55274+-0.08234 ? 7.57836+-0.38970 ? 7.62823+-0.13858 ?
jquery 105.24169+-1.46600 ? 110.89188+-12.04991 106.89045+-1.02615 ? might be 1.0157x slower
box2d x2 148.94009+-7.51218 147.20060+-1.00928 ? 149.89691+-8.11293 ?
zlib x2 3275.02496+-150.69226 3213.99174+-59.64190 ? 3235.07804+-72.75130 might be 1.0123x faster
typescript x2 6359.96002+-127.11275 ? 6382.78278+-37.95681 ? 6419.62012+-233.26418 ?
<geometric> 76.30590+-2.01669 ? 76.75788+-1.14384 76.74314+-1.40444 ? might be 1.0057x slower
VMs tested:
"without_poc" at /Users/Developer/Projects/Webkit2/WebKitBuild/without_poc/Release/jsc
"poc_af" at /Users/Developer/Projects/Webkit2/WebKitBuild/poc_af/Release/jsc
Collected 4 samples per benchmark/VM, with 4 VM invocations per benchmark. Ran 10 benchmark
iterations, and measured the total time of those iterations, for each sample. Emitted a call to
gc() between sample measurements. Used 50 benchmark iterations per VM invocation for warm-up. Used
the jsc-specific preciseTime() function to get microsecond-level timing. Reporting benchmark
execution times with 95% confidence intervals in milliseconds.
without_poc poc_af
encrypt 2.77259+-0.22171 2.72090+-0.16924 might be 1.0190x faster
decrypt 48.18516+-1.79916 47.26634+-1.53623 might be 1.0194x faster
deltablue x2 2.31168+-0.23954 2.29629+-0.43591
earley 4.75901+-0.12404 4.64855+-0.14061 might be 1.0238x faster
boyer 78.11480+-4.14213 75.73340+-1.67293 might be 1.0314x faster
navier-stokes x2 66.76159+-0.34042 ? 66.96569+-0.86604 ?
raytrace x2 13.68558+-0.29190 ? 14.19274+-0.60011 ? might be 1.0371x slower
richards x2 1.31075+-0.11995 1.25555+-0.09101 might be 1.0440x faster
splay x2 7.16992+-0.31480 6.79934+-0.22966 might be 1.0545x faster
regexp x2 268.01671+-13.08696 266.76630+-10.34040
pdfjs x2 698.08025+-83.00392 634.18004+-12.65250 might be 1.1008x faster
mandreel x2 682.24860+-19.86810 662.73219+-41.10933 might be 1.0294x faster
gbemu x2 450.99918+-23.31402 ? 469.87429+-39.76342 ? might be 1.0419x slower
closure 10.65001+-0.40167 ? 10.82472+-0.16493 ? might be 1.0164x slower
jquery 125.13582+-1.63535 ? 126.10873+-0.50509 ?
box2d x2 152.47756+-10.95317 152.27048+-6.58200
zlib x2 3238.78058+-139.73586 ? 3349.52535+-95.93578 ? might be 1.0342x slower
typescript x2 6360.53973+-155.92577 ? 6463.71503+-258.43191 ? might be 1.0162x slower
<geometric> 78.97169+-1.17542 78.24009+-0.61954 might be 1.0094x faster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment