[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:13:08 PDT 2011


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





--- Comment #2 from Filip Pizlo <fpizlo at apple.com>  2011-10-03 19:13:08 PST ---
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.5292+-0.2685          7.4916+-0.2162       
   3d-morph                               7.3690+-0.1498          7.3064+-0.1296       
   3d-raytrace                            7.4644+-0.1651          7.4570+-0.2123       
   access-binary-trees                    1.7149+-0.0517    ?     1.7663+-0.0731       ? might be 1.0300x slower
   access-fannkuch                        6.4593+-0.2204          6.3815+-0.1350         might be 1.0122x faster
   access-nbody                           3.4865+-0.0837    ?     3.5506+-0.0637       ? might be 1.0184x slower
   access-nsieve                          2.6700+-0.0462          2.6154+-0.0684         might be 1.0209x faster
   bitops-3bit-bits-in-byte               1.7404+-0.0418          1.7285+-0.0722       
   bitops-bits-in-byte                    2.7215+-0.0405    ?     2.7849+-0.0656       ? might be 1.0233x slower
   bitops-bitwise-and                     3.3357+-0.0719    ?     3.3819+-0.0840       ? might be 1.0139x slower
   bitops-nsieve-bits                     5.4838+-0.1237          5.4370+-0.1371       
   controlflow-recursive                  2.1070+-0.0606          2.0732+-0.0486         might be 1.0163x faster
   crypto-aes                             6.5896+-0.2535    ?     6.6451+-0.2620       ?
   crypto-md5                             2.8113+-0.0864    ?     2.8687+-0.1216       ? might be 1.0204x slower
   crypto-sha1                            2.5359+-0.0903          2.4997+-0.0786         might be 1.0145x faster
   date-format-tofte                     10.3008+-0.3695         10.0081+-0.2452         might be 1.0292x faster
   date-format-xparb                      9.2723+-0.2153    ?     9.6544+-0.3292       ? might be 1.0412x slower
   math-cordic                            6.4975+-0.1773          6.2694+-0.0924         might be 1.0364x faster
   math-partial-sums                      7.6509+-0.1885          7.5679+-0.1814         might be 1.0110x faster
   math-spectral-norm                     2.8249+-0.0756          2.8108+-0.0630       
   regexp-dna                            10.6957+-0.2133    ?    10.8980+-0.2347       ? might be 1.0189x slower
   string-base64                          5.6088+-0.2108          5.4974+-0.1223         might be 1.0203x faster
   string-fasta                           6.7084+-0.2026          6.5720+-0.1958         might be 1.0208x faster
   string-tagcloud                       11.8739+-0.4024         11.7775+-0.3457       
   string-unpack-code                    21.2762+-0.3991         21.1529+-0.5638       
   string-validate-input                  6.3806+-0.2175          6.3697+-0.1696       

   <arithmetic> *                         6.2734+-0.0391          6.2525+-0.0317       
   <geometric>                            5.1439+-0.0283          5.1324+-0.0220       
   <harmonic>                             4.2177+-0.0296          4.2156+-0.0345       

                                            TipOfTree              ArrayPushPop                                  
V8:
   crypto                                71.9777+-0.3315         71.9465+-0.4020       
   deltablue                            226.6944+-1.3479    ^   213.3755+-1.1471       ^ definitely 1.0624x faster
   earley-boyer                          87.8452+-1.3144         87.5402+-0.2419       
   raytrace                              61.2115+-0.4091    !    61.9857+-0.3375       ! definitely 1.0126x slower
   regexp                               103.9358+-0.7486        103.5198+-0.4380       
   richards                             187.2110+-0.4576        186.3760+-0.7210       
   splay                                 91.3657+-0.6363         90.6163+-0.6436       

   <arithmetic>                         118.6059+-0.2335    ^   116.4800+-0.2288       ^ definitely 1.0183x faster
   <geometric> *                        106.5501+-0.2310    ^   105.5149+-0.1960       ^ definitely 1.0098x faster
   <harmonic>                            97.3001+-0.2407         96.9440+-0.1968       

                                            TipOfTree              ArrayPushPop                                  
Kraken:
   ai-astar                             490.0243+-3.5827        488.5005+-2.0491       
   audio-beat-detection                 189.5874+-0.9309    ?   190.0763+-1.3708       ?
   audio-dft                            269.2471+-2.7212    ?   269.3562+-2.5368       ?
   audio-fft                            125.3247+-0.8031        125.3164+-0.2451       
   audio-oscillator                     245.6467+-1.8417        244.7928+-1.9703       
   imaging-darkroom                     418.5553+-1.0923    ?   419.8428+-1.6280       ?
   imaging-desaturate                   224.0831+-0.4321        223.2770+-0.8439       
   imaging-gaussian-blur                583.0219+-0.8408        582.1372+-0.7914       
   json-parse-financial                  48.3008+-0.4007    ?    48.9651+-0.2916       ? might be 1.0138x slower
   json-stringify-tinderbox              67.4519+-0.2791    !    68.7807+-0.6156       ! definitely 1.0197x slower
   stanford-crypto-aes                  129.2170+-1.4831    ?   130.8275+-2.3204       ? might be 1.0125x slower
   stanford-crypto-ccm                  100.7769+-0.5569        100.6993+-0.7224       
   stanford-crypto-pbkdf2               194.2613+-0.7755    ^   192.3477+-0.8872       ^ definitely 1.0099x faster
   stanford-crypto-sha256-iterative      76.3842+-0.2803    ^    75.0738+-0.4485       ^ definitely 1.0175x faster

   <arithmetic> *                       225.8488+-0.4877        225.7138+-0.5722       
   <geometric>                          175.5947+-0.4593    ?   175.7403+-0.4814       ?
   <harmonic>                           135.8117+-0.4880    ?   136.2780+-0.4244       ?

                                            TipOfTree              ArrayPushPop                                  
All benchmarks:
   <arithmetic>                          88.4092+-0.1537    ^    88.0408+-0.1957       ^ definitely 1.0042x faster
   <geometric>                           23.1224+-0.0772         23.0659+-0.0677       
   <harmonic>                             7.4137+-0.0508          7.4102+-0.0592       

                                            TipOfTree              ArrayPushPop                                  
Geomean of preferred means:
   <scaled-result>                       53.2459+-0.1127    ^    53.0037+-0.1270       ^ definitely 1.0046x faster

-- 
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