[Webkit-unassigned] [Bug 71522] JSC should be able to sample itself in a more flexible way than just sampling flags

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 3 18:43:42 PDT 2011


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





--- Comment #9 from Filip Pizlo <fpizlo at apple.com>  2011-11-03 18:43:42 PST ---
Overhead of having the profiler enabled...



Benchmark report for SunSpider, V8, and Kraken.

VMs tested:
"TipOfTree" at /Volumes/Data/pizlo/quinary/OpenSource/WebKitBuild/Release/jsc
"SamplerEnabled" at /Volumes/Data/pizlo/tertiary/OpenSource/WebKitBuild/Release/jsc

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.

                                            TipOfTree             SamplerEnabled                                 
SunSpider:
   3d-cube                                7.3679+-0.1703    ?     7.4590+-0.2383       ? might be 1.0124x slower
   3d-morph                               7.4725+-0.1504    ?     7.5925+-0.0576       ? might be 1.0160x slower
   3d-raytrace                            7.6587+-0.2328          7.6429+-0.3016       
   access-binary-trees                    1.6238+-0.0567          1.5740+-0.0470         might be 1.0316x faster
   access-fannkuch                        6.3700+-0.1068    ?     6.5848+-0.1303       ? might be 1.0337x slower
   access-nbody                           3.7424+-0.1104    ?     3.8870+-0.2522       ? might be 1.0386x slower
   access-nsieve                          2.5210+-0.0519    ?     2.8163+-0.3102       ? might be 1.1171x slower
   bitops-3bit-bits-in-byte               1.5631+-0.2876          1.3068+-0.0208         might be 1.1961x faster
   bitops-bits-in-byte                    2.6240+-0.3249          2.3986+-0.0573         might be 1.0940x faster
   bitops-bitwise-and                     3.4415+-0.2594    ?     3.8915+-0.8106       ? might be 1.1308x slower
   bitops-nsieve-bits                     5.2864+-0.0886    !     5.5972+-0.1628       ! definitely 1.0588x slower
   controlflow-recursive                  2.1253+-0.0662    ?     2.1445+-0.0524       ?
   crypto-aes                             7.3671+-0.2485    ?     7.6204+-0.2110       ? might be 1.0344x slower
   crypto-md5                             2.9912+-0.4327          2.7142+-0.0623         might be 1.1021x faster
   crypto-sha1                            2.4407+-0.0638    ?     2.4656+-0.0732       ? might be 1.0102x slower
   date-format-tofte                      9.8041+-0.2285    !    10.7834+-0.6929       ! definitely 1.0999x slower
   date-format-xparb                      9.6657+-0.3719          9.1994+-0.3476         might be 1.0507x faster
   math-cordic                            6.3703+-0.0942    ?     7.2613+-0.7985       ? might be 1.1399x slower
   math-partial-sums                      7.3831+-0.1383    !     7.7335+-0.1846       ! definitely 1.0475x slower
   math-spectral-norm                     2.5657+-0.0528    ?     2.5755+-0.0565       ?
   regexp-dna                            11.4304+-0.2376    ?    11.6031+-0.2032       ? might be 1.0151x slower
   string-base64                          4.0302+-0.0719    !     4.1909+-0.0839       ! definitely 1.0399x slower
   string-fasta                           6.4095+-0.2201          6.3538+-0.1296       
   string-tagcloud                       11.6069+-0.2982    ?    12.0571+-0.7107       ? might be 1.0388x slower
   string-unpack-code                    20.1409+-0.4080    ?    20.5831+-0.3285       ? might be 1.0220x slower
   string-validate-input                  5.1423+-0.0660    ?     5.3008+-0.1041       ? might be 1.0308x slower

   <arithmetic> *                         6.1210+-0.0359    !     6.2822+-0.0626       ! definitely 1.0263x slower
   <geometric>                            4.9754+-0.0425    ?     5.0541+-0.0524       ? might be 1.0158x slower
   <harmonic>                             4.0231+-0.0608          4.0126+-0.0465       

                                            TipOfTree             SamplerEnabled                                 
V8:
   crypto                                72.4939+-0.5818    !    74.2267+-0.5432       ! definitely 1.0239x slower
   deltablue                            163.5958+-0.9325    !   167.2956+-1.2395       ! definitely 1.0226x slower
   earley-boyer                          90.1187+-1.0230    ?    91.7711+-1.4188       ? might be 1.0183x slower
   raytrace                              62.2410+-0.7072    ?    64.4008+-1.5194       ? might be 1.0347x slower
   regexp                               103.7200+-0.5577    !   108.1050+-1.2934       ! definitely 1.0423x slower
   richards                             122.8026+-0.4318    !   126.3099+-0.4679       ! definitely 1.0286x slower
   splay                                 72.7751+-1.6500         72.2254+-0.6783       

   <arithmetic>                          98.2496+-0.3347    !   100.6192+-0.4565       ! definitely 1.0241x slower
   <geometric> *                         93.3145+-0.4245    !    95.4732+-0.5345       ! definitely 1.0231x slower
   <harmonic>                            89.0397+-0.5060    !    91.0135+-0.6146       ! definitely 1.0222x slower

                                            TipOfTree             SamplerEnabled                                 
Kraken:
   ai-astar                             480.6611+-1.1364    !   502.6007+-2.7464       ! definitely 1.0456x slower
   audio-beat-detection                 187.1347+-2.3611    !   193.3259+-1.8803       ! definitely 1.0331x slower
   audio-dft                            270.5607+-14.2197       266.6992+-2.0169         might be 1.0145x faster
   audio-fft                            121.7067+-0.4497    !   125.2352+-0.6440       ! definitely 1.0290x slower
   audio-oscillator                     247.5017+-0.9247    !   254.6660+-1.8414       ! definitely 1.0289x slower
   imaging-darkroom                     295.8450+-3.8644    !   304.1592+-3.6218       ! definitely 1.0281x slower
   imaging-desaturate                   220.5671+-0.4008    !   228.1312+-1.4477       ! definitely 1.0343x slower
   imaging-gaussian-blur                542.6252+-1.5325    !   559.4707+-1.6266       ! definitely 1.0310x slower
   json-parse-financial                  56.9105+-0.3260    !    58.8739+-0.8441       ! definitely 1.0345x slower
   json-stringify-tinderbox              68.2445+-1.3047    !    69.8170+-0.2335       ! definitely 1.0230x slower
   stanford-crypto-aes                   95.0018+-0.6463    !    97.2163+-1.1808       ! definitely 1.0233x slower
   stanford-crypto-ccm                   98.5258+-0.5849    !   100.7550+-0.6774       ! definitely 1.0226x slower
   stanford-crypto-pbkdf2               190.7435+-0.5386    !   195.8103+-1.6467       ! definitely 1.0266x slower
   stanford-crypto-sha256-iterative      78.8713+-0.3829    !    81.0958+-0.3606       ! definitely 1.0282x slower

   <arithmetic> *                       211.0643+-0.8571    !   216.9898+-0.3769       ! definitely 1.0281x slower
   <geometric>                          167.8954+-0.4237    !   172.4017+-0.3524       ! definitely 1.0268x slower
   <harmonic>                           134.6227+-0.3187    !   138.2633+-0.4525       ! definitely 1.0270x slower

                                            TipOfTree             SamplerEnabled                                 
All benchmarks:
   <arithmetic>                          80.8892+-0.2487    !    83.0963+-0.1063       ! definitely 1.0273x slower
   <geometric>                           21.9607+-0.1091    !    22.4033+-0.1296       ! definitely 1.0202x slower
   <harmonic>                             7.0725+-0.1040          7.0594+-0.0798       

                                            TipOfTree             SamplerEnabled                                 
Geomean of preferred means:
   <scaled-result>                       49.3991+-0.1261    !    50.6752+-0.1888       ! definitely 1.0258x 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