[Webkit-unassigned] [Bug 74899] If we detect that we can use the JIT, don't use computed opcode lookups

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 19 17:32:23 PST 2011


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





--- Comment #4 from Filip Pizlo <fpizlo at apple.com>  2011-12-19 17:32:23 PST ---
Here's the performance when running in the default desktop mode (JIT compiled in, interpreter not compiled in).



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

VMs tested:
"TipOfTreeJIT" at /Volumes/Data/pizlo/quinary/OpenSource/WebKitBuild/Release/jsc (r103278)
"EasyOpcodesJIT" at /Volumes/Data/pizlo/OpenSource/WebKitBuild/Release/jsc (r103278)

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.

                                           TipOfTreeJIT           EasyOpcodesJIT                                 
SunSpider:
   3d-cube                                7.5395+-0.0507          7.5279+-0.0481       
   3d-morph                              10.0457+-0.0509         10.0344+-0.0451       
   3d-raytrace                            9.0963+-0.0739    ?     9.1780+-0.0750       ?
   access-binary-trees                    1.9389+-0.0175    ?     1.9456+-0.0343       ?
   access-fannkuch                        9.1671+-0.0126    ?     9.2053+-0.0535       ?
   access-nbody                           4.7911+-0.0426          4.7491+-0.0187       
   access-nsieve                          3.9309+-0.0785          3.8620+-0.0602         might be 1.0179x faster
   bitops-3bit-bits-in-byte               1.5001+-0.0147    ?     1.5138+-0.0214       ?
   bitops-bits-in-byte                    6.1256+-0.0175    ?     6.1523+-0.0412       ?
   bitops-bitwise-and                     3.9886+-0.0234    ?     4.0116+-0.0414       ?
   bitops-nsieve-bits                     6.9498+-0.0897          6.8302+-0.0374         might be 1.0175x faster
   controlflow-recursive                  2.8409+-0.0183    ?     2.8578+-0.0147       ?
   crypto-aes                             9.2483+-0.0530    ?     9.3507+-0.1194       ? might be 1.0111x slower
   crypto-md5                             3.0288+-0.0508          3.0133+-0.0266       
   crypto-sha1                            2.6884+-0.0302          2.6757+-0.0166       
   date-format-tofte                     13.3116+-0.1481    ^    12.9479+-0.1100       ^ definitely 1.0281x faster
   date-format-xparb                     12.9034+-0.1811         12.8167+-0.1253       
   math-cordic                            8.7532+-0.0772    ^     8.6436+-0.0290       ^ definitely 1.0127x faster
   math-partial-sums                     12.6132+-0.0291    ?    12.6511+-0.0314       ?
   math-spectral-norm                     3.1847+-0.0296          3.1827+-0.0111       
   regexp-dna                            10.7769+-0.0793    ?    11.0031+-0.2361       ? might be 1.0210x slower
   string-base64                          5.2207+-0.0507    ?     5.2888+-0.0693       ? might be 1.0130x slower
   string-fasta                           8.8432+-0.0537          8.7658+-0.0426       
   string-tagcloud                       15.0136+-0.0979    ?    15.3506+-0.3029       ? might be 1.0224x slower
   string-unpack-code                    25.6618+-0.2349         25.5322+-0.0692       
   string-validate-input                  6.9126+-0.0915    ?     7.0594+-0.1381       ? might be 1.0212x slower

   <arithmetic> *                         7.9260+-0.0342    ?     7.9288+-0.0291       ? might be 1.0004x slower
   <geometric>                            6.4232+-0.0267    ?     6.4267+-0.0252       ? might be 1.0005x slower
   <harmonic>                             5.0726+-0.0214    ?     5.0779+-0.0234       ? might be 1.0011x slower

                                           TipOfTreeJIT           EasyOpcodesJIT                                 
V8:
   crypto                                93.1876+-0.2248    ?    93.5095+-0.5503       ?
   deltablue                            205.2260+-1.7771        204.5077+-0.8356       
   earley-boyer                         120.2805+-1.5788        119.8886+-1.4950       
   raytrace                              64.2879+-1.2143         63.5429+-0.6459         might be 1.0117x faster
   regexp                               147.2019+-0.3245    ?   147.4583+-0.8038       ?
   richards                             168.9736+-0.6030    !   171.0569+-0.5521       ! definitely 1.0123x slower
   splay                                108.6977+-1.6918    ?   110.4101+-2.6557       ? might be 1.0158x slower

   <arithmetic>                         129.6936+-0.4921    ?   130.0534+-0.4275       ? might be 1.0028x slower
   <geometric> *                        121.8796+-0.5721    ?   122.1335+-0.5029       ? might be 1.0021x slower
   <harmonic>                           114.0059+-0.7270    ?   114.0755+-0.5778       ? might be 1.0006x slower

                                           TipOfTreeJIT           EasyOpcodesJIT                                 
Kraken:
   ai-astar                             896.7456+-0.6032    ?   897.3953+-1.2333       ?
   audio-beat-detection                 233.3495+-1.2969        232.7196+-1.2799       
   audio-dft                            351.8302+-4.2714    ^   341.6509+-4.9691       ^ definitely 1.0298x faster
   audio-fft                            146.2062+-1.5776        145.7038+-1.5617       
   audio-oscillator                     345.1878+-2.6331        345.1877+-3.0111       
   imaging-darkroom                     361.6388+-7.4628    ?   362.0052+-7.5605       ?
   imaging-desaturate                   288.4202+-0.9100    ?   288.4794+-1.4778       ?
   imaging-gaussian-blur                630.8954+-0.4635    ?   633.3607+-2.7304       ?
   json-parse-financial                  86.7778+-0.4234         85.9769+-0.4040       
   json-stringify-tinderbox              99.7308+-0.4471         99.6821+-0.6314       
   stanford-crypto-aes                  141.0035+-0.6337    ?   142.2376+-1.8364       ?
   stanford-crypto-ccm                  138.0768+-1.1320        137.9783+-0.9424       
   stanford-crypto-pbkdf2               280.7540+-2.1327        280.6523+-2.4349       
   stanford-crypto-sha256-iterative     117.3794+-0.2535    ^   116.2762+-0.1576       ^ definitely 1.0095x faster

   <arithmetic> *                       294.1426+-0.6597        293.5219+-0.5650         might be 1.0021x faster
   <geometric>                          232.5926+-0.5120        231.9035+-0.5539         might be 1.0030x faster
   <harmonic>                           189.7743+-0.3474        189.1337+-0.5410         might be 1.0034x faster

                                           TipOfTreeJIT           EasyOpcodesJIT                                 
All benchmarks:
   <arithmetic>                         111.3176+-0.2360        111.1879+-0.1975         might be 1.0012x faster
   <geometric>                           29.0036+-0.0892         28.9956+-0.0799         might be 1.0003x faster
   <harmonic>                             8.9340+-0.0371    ?     8.9428+-0.0403       ? might be 1.0010x slower

                                           TipOfTreeJIT           EasyOpcodesJIT                                 
Geomean of preferred means:
   <scaled-result>                       65.7421+-0.1891    ?    65.7493+-0.1397       ? might be 1.0001x slower

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