[Webkit-unassigned] [Bug 69314] DFG should inline Array.push and Array.pop

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 3 19:40:28 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=69314





--- Comment #5 from Filip Pizlo <fpizlo at apple.com>  2011-10-03 19:40:28 PST ---
Updated performance numbers after implementing 32-bit.



Benchmark report for SunSpider, V8, and Kraken.

VMs tested:
"TipOfTree" at /Volumes/Data/pizlo/quinary/OpenSource/WebKitBuild/Release/jsc
"ArrayPushPop" at /Volumes/Data/pizlo/septenary/OpenSource/WebKitBuild/Release/jsc

Collected 12 samples per benchmark/VM, with 4 VM invocations per benchmark. Used 1 benchmark iteration 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.

                                            TipOfTree              ArrayPushPop                                  
SunSpider:
   3d-cube                                7.4501+-0.2440          7.3643+-0.1557         might be 1.0117x faster
   3d-morph                               7.5153+-0.1409          7.3244+-0.1445         might be 1.0261x faster
   3d-raytrace                            7.7931+-0.3258          7.4860+-0.1856         might be 1.0410x faster
   access-binary-trees                    1.7623+-0.0869          1.7397+-0.0671         might be 1.0130x faster
   access-fannkuch                        6.3620+-0.1525          6.3063+-0.1004       
   access-nbody                           3.5119+-0.0704    ?     3.5548+-0.1139       ? might be 1.0122x slower
   access-nsieve                          2.6261+-0.0668    ?     2.6422+-0.0647       ?
   bitops-3bit-bits-in-byte               1.7484+-0.0531    ?     1.7505+-0.0409       ?
   bitops-bits-in-byte                    2.7235+-0.0699          2.7132+-0.0929       
   bitops-bitwise-and                     3.3628+-0.0731          3.3303+-0.0849       
   bitops-nsieve-bits                     5.3552+-0.1130    ?     5.5315+-0.1475       ? might be 1.0329x slower
   controlflow-recursive                  2.0652+-0.0315    ?     2.0902+-0.0544       ? might be 1.0121x slower
   crypto-aes                             6.7184+-0.2505    ?     6.7252+-0.2908       ?
   crypto-md5                             2.7716+-0.0827    ?     2.8147+-0.0787       ? might be 1.0155x slower
   crypto-sha1                            2.4449+-0.0748    ?     2.5473+-0.0594       ? might be 1.0419x slower
   date-format-tofte                     10.0495+-0.2735    ?    10.1968+-0.2721       ? might be 1.0147x slower
   date-format-xparb                      9.2339+-0.2371    ?     9.4363+-0.1953       ? might be 1.0219x slower
   math-cordic                            6.4047+-0.1813    ?     6.4916+-0.1603       ? might be 1.0136x slower
   math-partial-sums                      7.6492+-0.1104          7.5506+-0.1539         might be 1.0130x faster
   math-spectral-norm                     2.8396+-0.0693    ?     2.8464+-0.0796       ?
   regexp-dna                            10.8828+-0.2515         10.8588+-0.2314       
   string-base64                          5.3824+-0.0973    ?     5.5847+-0.1752       ? might be 1.0376x slower
   string-fasta                           6.6755+-0.1671          6.5792+-0.1215         might be 1.0146x faster
   string-tagcloud                       11.8123+-0.3088         11.5394+-0.3608         might be 1.0236x faster
   string-unpack-code                    21.2662+-0.4159    ?    21.2771+-0.4652       ?
   string-validate-input                  6.4247+-0.1741    ?     6.5574+-0.1890       ? might be 1.0207x slower

   <arithmetic> *                         6.2627+-0.0328    ?     6.2630+-0.0282       ?
   <geometric>                            5.1298+-0.0249    ?     5.1429+-0.0272       ?
   <harmonic>                             4.2046+-0.0371    ?     4.2236+-0.0369       ?

                                            TipOfTree              ArrayPushPop                                  
V8:
   crypto                                72.2659+-0.5199         72.0394+-0.2829       
   deltablue                            226.7959+-2.5189    ^   212.2174+-1.2944       ^ definitely 1.0687x faster
   earley-boyer                          87.3534+-0.2806         87.2338+-0.2535       
   raytrace                              61.2481+-0.2701    ?    61.6174+-0.6874       ?
   regexp                               103.8244+-0.4626    ?   104.3105+-1.5225       ?
   richards                             187.4970+-1.4137        185.9868+-0.7538       
   splay                                 91.2620+-0.4211    ?    92.0918+-0.6788       ?

   <arithmetic>                         118.6067+-0.4224    ^   116.4996+-0.5168       ^ definitely 1.0181x faster
   <geometric> *                        106.5333+-0.2654    ^   105.6339+-0.5156       ^ definitely 1.0085x faster
   <harmonic>                            97.2911+-0.2082         97.0665+-0.5095       

                                            TipOfTree              ArrayPushPop                                  
Kraken:
   ai-astar                             499.3114+-1.7404    ^   495.2293+-1.4996       ^ definitely 1.0082x faster
   audio-beat-detection                 189.2983+-1.3873    ?   190.5103+-0.8675       ?
   audio-dft                            270.4937+-2.4771    ?   279.0681+-8.9224       ? might be 1.0317x slower
   audio-fft                            125.6829+-0.8037        125.4832+-0.4322       
   audio-oscillator                     247.0646+-1.6372        245.4810+-1.8741       
   imaging-darkroom                     418.2131+-1.3020    ?   420.0575+-1.9099       ?
   imaging-desaturate                   223.7626+-0.6231    ?   224.0123+-0.9501       ?
   imaging-gaussian-blur                583.4748+-1.6843        580.2892+-1.7409       
   json-parse-financial                  48.2553+-0.2874    ?    48.6114+-0.3813       ?
   json-stringify-tinderbox              69.0173+-0.9414         67.9909+-0.2805         might be 1.0151x faster
   stanford-crypto-aes                  130.2836+-1.5283    ?   130.7792+-1.7017       ?
   stanford-crypto-ccm                  101.0237+-0.4357    ^    99.8091+-0.5694       ^ definitely 1.0122x faster
   stanford-crypto-pbkdf2               194.9367+-1.6563        192.7134+-1.9841         might be 1.0115x faster
   stanford-crypto-sha256-iterative      76.9176+-0.2668    ?    77.6517+-2.6786       ?

   <arithmetic> *                       226.9811+-0.3435        226.9776+-0.8794       
   <geometric>                          176.4986+-0.3526    ?   176.5179+-0.7770       ?
   <harmonic>                           136.5980+-0.3590        136.5628+-0.7900       

                                            TipOfTree              ArrayPushPop                                  
All benchmarks:
   <arithmetic>                          88.7407+-0.1208         88.4260+-0.3158       
   <geometric>                           23.1221+-0.0698    ?    23.1261+-0.0792       ?
   <harmonic>                             7.3920+-0.0636    ?     7.4244+-0.0632       ?

                                            TipOfTree              ArrayPushPop                                  
Geomean of preferred means:
   <scaled-result>                       53.3020+-0.1172         53.1518+-0.1505

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list