[Webkit-unassigned] [Bug 74480] DFG should infer when local variables are doubles

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 13 22:49:36 PST 2011


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





--- Comment #6 from Filip Pizlo <fpizlo at apple.com>  2011-12-13 22:49:36 PST ---
Performance on JSVALUE32_64:



[pizlo at nitroflex bencher] ./bencher TipOfTree32:/Volumes/Data/pizlo/quinary/OpenSource/WebKitBuild/Release/jsc InferDouble32:/Volumes/Data/pizlo/quartary/OpenSource/WebKitBuild/Release/jsc --remote oldmac,bigmac
Packaging VM builds for remote hosts...
Sending VM builds to oldmac...
Running on oldmac...
376/376                                                            
Generating benchmark report at TipOfTree32_InferDouble32_SunSpiderV8Kraken_20111213_2243_benchReport.txt

Benchmark report for SunSpider, V8, and Kraken on oldmac.local (MacPro4,1).

VMs tested:
"TipOfTree32" at /Volumes/Data/pizlo/quinary/OpenSource/WebKitBuild/Release/jsc (r102726)
"InferDouble32" at /Volumes/Data/pizlo/quartary/OpenSource/WebKitBuild/Release/jsc (r102726)

Collected 12 samples per benchmark/VM, with 4 VM invocations per benchmark. Emitted a call to gc() between sample
measurements. 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.

                                           TipOfTree32            InferDouble32                                  
SunSpider:
   3d-cube                                9.8759+-0.0260    ^     8.7524+-0.0249       ^ definitely 1.1284x faster
   3d-morph                              13.2675+-0.0453    ?    13.2834+-0.0400       ?
   3d-raytrace                           11.6581+-0.0232         11.6313+-0.0210       
   access-binary-trees                    2.3372+-0.0110    !     2.3600+-0.0107       ! definitely 1.0098x slower
   access-fannkuch                       11.1245+-0.0296    !    11.2900+-0.0285       ! definitely 1.0149x slower
   access-nbody                           6.8743+-0.0065    ?     6.8972+-0.0175       ?
   access-nsieve                          3.7255+-0.0076    ?     3.7543+-0.0349       ?
   bitops-3bit-bits-in-byte               1.5625+-0.0270          1.5620+-0.0248       
   bitops-bits-in-byte                    6.0265+-0.0194    ?     6.0318+-0.0154       ?
   bitops-bitwise-and                     4.6959+-0.0090          4.6926+-0.0115       
   bitops-nsieve-bits                     8.1722+-0.0079    ?     8.1799+-0.0126       ?
   controlflow-recursive                  3.6756+-0.0369    ?     3.6908+-0.0478       ?
   crypto-aes                            11.9426+-0.0967    !    12.1948+-0.0501       ! definitely 1.0211x slower
   crypto-md5                             3.9414+-0.0372    ?     3.9869+-0.0475       ? might be 1.0115x slower
   crypto-sha1                            3.2980+-0.0624    ?     3.3295+-0.0366       ?
   date-format-tofte                     13.9670+-0.1470         13.8177+-0.0931         might be 1.0108x faster
   date-format-xparb                     14.4586+-0.0742    !    15.2751+-0.1029       ! definitely 1.0565x slower
   math-cordic                           12.0426+-0.0313         12.0219+-0.0324       
   math-partial-sums                     15.0773+-0.0425    ?    15.0815+-0.0381       ?
   math-spectral-norm                     3.2355+-0.0164    !     3.3117+-0.0302       ! definitely 1.0236x slower
   regexp-dna                            11.0747+-0.1091    ?    11.1738+-0.0794       ?
   string-base64                          5.9331+-0.0116    !     5.9622+-0.0113       ! definitely 1.0049x slower
   string-fasta                          10.5769+-0.0180    ?    10.5942+-0.0236       ?
   string-tagcloud                       16.5458+-0.0281         16.5032+-0.0554       
   string-unpack-code                    26.9658+-0.1368    ?    27.0020+-0.1227       ?
   string-validate-input                  7.5801+-0.0093    !     7.6401+-0.0153       ! definitely 1.0079x slower

   <arithmetic> *                         9.2167+-0.0165    ?     9.2316+-0.0197       ? might be 1.0016x slower
   <geometric>                            7.5099+-0.0202    ?     7.5240+-0.0198       ? might be 1.0019x slower
   <harmonic>                             5.8681+-0.0295    ?     5.8895+-0.0252       ? might be 1.0036x slower

                                           TipOfTree32            InferDouble32                                  
V8:
   crypto                               121.1994+-0.2802    !   121.9700+-0.4194       ! definitely 1.0064x slower
   deltablue                            225.4175+-0.4504    ?   226.6870+-1.9381       ?
   earley-boyer                         142.2687+-1.3848    ?   142.8703+-1.2828       ?
   raytrace                              68.1709+-0.7045         67.8957+-0.2722       
   regexp                               155.7222+-0.3299        155.7170+-0.4948       
   richards                             241.0998+-1.0237        239.9587+-0.6381       
   splay                                116.5125+-1.7885    ?   117.7935+-0.7934       ? might be 1.0110x slower

   <arithmetic>                         152.9130+-0.4079    ?   153.2703+-0.4364       ? might be 1.0023x slower
   <geometric> *                        141.9020+-0.4275    ?   142.2777+-0.3381       ? might be 1.0026x slower
   <harmonic>                           130.7297+-0.4425    ?   131.0370+-0.2673       ? might be 1.0024x slower

                                           TipOfTree32            InferDouble32                                  
Kraken:
   ai-astar                             987.9276+-1.9873    ?   989.5875+-1.9862       ?
   audio-beat-detection                 503.8657+-0.3595    ^   440.5516+-2.3661       ^ definitely 1.1437x faster
   audio-dft                            445.7723+-3.3746        444.7101+-2.4471       
   audio-fft                            334.2702+-0.8098    ^   267.6838+-2.3788       ^ definitely 1.2488x faster
   audio-oscillator                     547.8174+-3.0797    ^   538.0074+-3.2711       ^ definitely 1.0182x faster
   imaging-darkroom                     501.9588+-4.9934    ^   470.3138+-4.7611       ^ definitely 1.0673x faster
   imaging-desaturate                   360.0111+-0.1014    ?   360.0147+-0.2404       ?
   imaging-gaussian-blur                970.4162+-1.3375    ^   842.5708+-1.1573       ^ definitely 1.1517x faster
   json-parse-financial                  88.0039+-0.5441    ?    88.6821+-0.2110       ?
   json-stringify-tinderbox             126.7914+-0.3683        126.4213+-0.2953       
   stanford-crypto-aes                  169.5269+-0.5386        168.6534+-0.7137       
   stanford-crypto-ccm                  156.5946+-0.8589    ^   155.1493+-0.5687       ^ definitely 1.0093x faster
   stanford-crypto-pbkdf2               315.6071+-0.5699        314.4535+-1.0214       
   stanford-crypto-sha256-iterative     133.4636+-1.6870        132.1102+-0.1116         might be 1.0102x faster

   <arithmetic> *                       403.0019+-0.5047    ^   381.3507+-0.4167       ^ definitely 1.0568x faster
   <geometric>                          313.5732+-0.5312    ^   300.3107+-0.3505       ^ definitely 1.0442x faster
   <harmonic>                           241.1390+-0.6709    ^   235.1872+-0.2786       ^ definitely 1.0253x faster

                                           TipOfTree32            InferDouble32                                  
All benchmarks:
   <arithmetic>                         147.9160+-0.1981    ^   141.5281+-0.1751       ^ definitely 1.0451x faster
   <geometric>                           35.3583+-0.0723    ^    34.9561+-0.0690       ^ definitely 1.0115x faster
   <harmonic>                            10.3471+-0.0510    ?    10.3808+-0.0435       ? might be 1.0033x slower

                                           TipOfTree32            InferDouble32                                  
Geomean of preferred means:
   <scaled-result>                       80.7774+-0.1386    ^    79.4167+-0.1330       ^ definitely 1.0171x faster

Sending VM builds to bigmac...
Running on bigmac...
376/376                                                            
Generating benchmark report at TipOfTree32_InferDouble32_SunSpiderV8Kraken_20111213_2248_benchReport.txt

Benchmark report for SunSpider, V8, and Kraken on bigmac.local (MacPro5,1).

VMs tested:
"TipOfTree32" at /Volumes/Data/pizlo/quinary/OpenSource/WebKitBuild/Release/jsc (r102726)
"InferDouble32" at /Volumes/Data/pizlo/quartary/OpenSource/WebKitBuild/Release/jsc (r102726)

Collected 12 samples per benchmark/VM, with 4 VM invocations per benchmark. Emitted a call to gc() between sample
measurements. 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.

                                           TipOfTree32            InferDouble32                                  
SunSpider:
   3d-cube                                8.2414+-0.0801    ^     7.2376+-0.0233       ^ definitely 1.1387x faster
   3d-morph                              10.9362+-0.0424    ?    11.0593+-0.0810       ? might be 1.0113x slower
   3d-raytrace                            9.6896+-0.0356    ?     9.7039+-0.0162       ?
   access-binary-trees                    1.9407+-0.0195    ?     1.9451+-0.0104       ?
   access-fannkuch                        9.2441+-0.0445    !     9.3548+-0.0376       ! definitely 1.0120x slower
   access-nbody                           5.6954+-0.0084    !     5.7078+-0.0038       ! definitely 1.0022x slower
   access-nsieve                          3.1094+-0.0128    !     3.1316+-0.0081       ! definitely 1.0071x slower
   bitops-3bit-bits-in-byte               1.2828+-0.0196    ?     1.2960+-0.0200       ? might be 1.0102x slower
   bitops-bits-in-byte                    4.9782+-0.0149    ?     4.9922+-0.0135       ?
   bitops-bitwise-and                     3.8794+-0.0047          3.8460+-0.0465       
   bitops-nsieve-bits                     6.7766+-0.0145          6.7644+-0.0078       
   controlflow-recursive                  2.9983+-0.0049    !     3.0352+-0.0310       ! definitely 1.0123x slower
   crypto-aes                             9.7946+-0.0258    !    10.1624+-0.0387       ! definitely 1.0376x slower
   crypto-md5                             3.2590+-0.0139    ?     3.2878+-0.0228       ?
   crypto-sha1                            2.6971+-0.0330    !     2.7582+-0.0163       ! definitely 1.0226x slower
   date-format-tofte                     11.5669+-0.0824    ?    11.5862+-0.2859       ?
   date-format-xparb                     12.0758+-0.2460    ?    12.4899+-0.2827       ? might be 1.0343x slower
   math-cordic                            9.9287+-0.0269    ?     9.9486+-0.0311       ?
   math-partial-sums                     12.4587+-0.0131         12.4514+-0.0177       
   math-spectral-norm                     2.6819+-0.0034    !     2.7610+-0.0281       ! definitely 1.0295x slower
   regexp-dna                             9.1832+-0.0195          9.1677+-0.0094       
   string-base64                          4.8763+-0.0237    !     4.9144+-0.0081       ! definitely 1.0078x slower
   string-fasta                           8.7722+-0.0213    ?     8.7903+-0.0429       ?
   string-tagcloud                       13.7713+-0.0307         13.7011+-0.0400       
   string-unpack-code                    22.1844+-0.0827    ?    22.2783+-0.0601       ?
   string-validate-input                  6.2970+-0.0165          6.2906+-0.0152       

   <arithmetic> *                         7.6277+-0.0127    ?     7.6408+-0.0139       ? might be 1.0017x slower
   <geometric>                            6.2119+-0.0130    ?     6.2263+-0.0111       ? might be 1.0023x slower
   <harmonic>                             4.8473+-0.0203    ?     4.8735+-0.0170       ? might be 1.0054x slower

                                           TipOfTree32            InferDouble32                                  
V8:
   crypto                               100.5472+-0.3565    ?   101.0559+-0.3720       ?
   deltablue                            187.7118+-0.8009    ?   188.1846+-1.3139       ?
   earley-boyer                         116.7155+-0.4644    ?   117.6857+-0.8208       ?
   raytrace                              56.3113+-0.5766    ?    57.0172+-0.6416       ? might be 1.0125x slower
   regexp                               130.1576+-0.3513        130.1473+-0.2585       
   richards                             198.9660+-0.6000    ?   200.1853+-1.9956       ?
   splay                                 97.2906+-1.0036    ?    99.3742+-1.4491       ? might be 1.0214x slower

   <arithmetic>                         126.8143+-0.2814    !   127.6643+-0.4408       ! definitely 1.0067x slower
   <geometric> *                        117.6751+-0.2986    !   118.6074+-0.3939       ! definitely 1.0079x slower
   <harmonic>                           108.3714+-0.3583    !   109.3784+-0.4169       ! definitely 1.0093x slower

                                           TipOfTree32            InferDouble32                                  
Kraken:
   ai-astar                             881.5506+-12.6789   ?   892.2307+-10.8047      ? might be 1.0121x slower
   audio-beat-detection                 417.6802+-3.9360    ^   365.0161+-3.6568       ^ definitely 1.1443x faster
   audio-dft                            364.9573+-2.0129        361.5342+-2.3947       
   audio-fft                            274.0695+-0.2537    ^   219.2772+-0.4352       ^ definitely 1.2499x faster
   audio-oscillator                     449.9475+-2.2052    ^   442.0701+-3.3194       ^ definitely 1.0178x faster
   imaging-darkroom                     415.0468+-4.4894    ^   390.9574+-4.1853       ^ definitely 1.0616x faster
   imaging-desaturate                   297.4802+-0.2322        297.3128+-0.0707       
   imaging-gaussian-blur                801.7976+-1.2091    ^   696.0927+-0.3739       ^ definitely 1.1519x faster
   json-parse-financial                  71.7417+-0.1640    !    72.7052+-0.1677       ! definitely 1.0134x slower
   json-stringify-tinderbox             104.6179+-0.2561        104.1383+-0.2901       
   stanford-crypto-aes                  140.4939+-0.1132    ?   140.6970+-0.4771       ?
   stanford-crypto-ccm                  130.7869+-0.5467        129.8170+-0.6464       
   stanford-crypto-pbkdf2               261.9172+-0.9742        260.9615+-1.0844       
   stanford-crypto-sha256-iterative     108.2584+-0.1808    ?   108.3181+-0.1846       ?

   <arithmetic> *                       337.1676+-0.8505    ^   320.0806+-1.0325       ^ definitely 1.0534x faster
   <geometric>                          259.8860+-0.3624    ^   249.4294+-0.5060       ^ definitely 1.0419x faster
   <harmonic>                           198.6468+-0.2351    ^   194.3329+-0.2853       ^ definitely 1.0222x faster

                                           TipOfTree32            InferDouble32                                  
All benchmarks:
   <arithmetic>                         123.5397+-0.2540    ^   118.5838+-0.3125       ^ definitely 1.0418x faster
   <geometric>                           29.2752+-0.0451    ^    28.9905+-0.0480       ^ definitely 1.0098x faster
   <harmonic>                             8.5472+-0.0350    ?     8.5908+-0.0296       ? might be 1.0051x slower

                                           TipOfTree32            InferDouble32                                  
Geomean of preferred means:
   <scaled-result>                       67.1386+-0.0768    ^    66.1965+-0.1120       ^ definitely 1.0142x faster

[pizlo at nitroflex bencher]

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