[Webkit-unassigned] [Bug 69500] DFG should not enforce speculations on a variable if those speculations are never used
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 5 20:29:24 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=69500
--- Comment #1 from Filip Pizlo <fpizlo at apple.com> 2011-10-05 20:29:24 PST ---
This is a modest win. It's not clear if it's worth it.
Benchmark report for SunSpider, V8, and Kraken.
VMs tested:
"TipOfTree" at /Volumes/Data/pizlo/quinary/OpenSource/WebKitBuild/Release/jsc
"LessVarSpec" at /Volumes/Data/pizlo/senary/OpenSource/WebKitBuild/Release/jsc
Collected 60 samples per benchmark/VM, with 20 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 LessVarSpec
SunSpider:
3d-cube 7.4524+-0.0823 ? 7.5759+-0.0670 ? might be 1.0166x slower
3d-morph 7.7301+-0.2382 7.4192+-0.1058 might be 1.0419x faster
3d-raytrace 7.5500+-0.0680 ? 7.5705+-0.0757 ?
access-binary-trees 1.7503+-0.0259 1.7443+-0.0229
access-fannkuch 6.3659+-0.0371 ? 6.4000+-0.0522 ?
access-nbody 3.5043+-0.0334 ? 3.5154+-0.0317 ?
access-nsieve 2.6211+-0.0291 ? 2.6257+-0.0251 ?
bitops-3bit-bits-in-byte 1.7229+-0.0148 ? 1.7385+-0.0195 ?
bitops-bits-in-byte 2.7468+-0.0302 ? 2.7576+-0.0270 ?
bitops-bitwise-and 3.4215+-0.0528 ! 3.6506+-0.1731 ! definitely 1.0669x slower
bitops-nsieve-bits 5.4368+-0.0459 ? 5.5132+-0.0580 ? might be 1.0141x slower
controlflow-recursive 2.0788+-0.0232 2.0725+-0.0187
crypto-aes 6.5547+-0.0705 6.5172+-0.0665
crypto-md5 2.7745+-0.0316 ? 2.7867+-0.0301 ?
crypto-sha1 2.4869+-0.0299 ? 2.4924+-0.0261 ?
date-format-tofte 9.8153+-0.0807 9.8048+-0.0760
date-format-xparb 9.2468+-0.1084 ! 9.5932+-0.0755 ! definitely 1.0375x slower
math-cordic 6.5290+-0.0382 ! 6.6216+-0.0398 ! definitely 1.0142x slower
math-partial-sums 7.5458+-0.0617 7.5439+-0.0536
math-spectral-norm 2.8558+-0.0288 2.8423+-0.0260
regexp-dna 10.7034+-0.0593 ? 10.8228+-0.0765 ? might be 1.0112x slower
string-base64 5.4769+-0.0751 ? 5.5167+-0.0511 ?
string-fasta 6.5142+-0.0489 ? 6.5969+-0.0504 ? might be 1.0127x slower
string-tagcloud 11.6132+-0.0895 11.5986+-0.0903
string-unpack-code 21.2704+-0.2122 21.2524+-0.1280
string-validate-input 6.3047+-0.0761 6.2807+-0.0595
<arithmetic> * 6.2336+-0.0155 ! 6.2636+-0.0114 ! definitely 1.0048x slower
<geometric> 5.1178+-0.0111 ! 5.1456+-0.0109 ! definitely 1.0054x slower
<harmonic> 4.2029+-0.0138 ? 4.2234+-0.0138 ?
TipOfTree LessVarSpec
V8:
crypto 71.9473+-0.1298 ? 72.3439+-0.3068 ?
deltablue 217.2698+-0.5760 ! 218.8131+-0.4345 ! definitely 1.0071x slower
earley-boyer 89.8821+-0.1489 ^ 87.4419+-0.1338 ^ definitely 1.0279x faster
raytrace 58.0058+-0.2359 57.6615+-0.1690
regexp 103.0210+-0.2802 102.8586+-0.1693
richards 204.8187+-0.3538 ! 205.9689+-0.4121 ! definitely 1.0056x slower
splay 90.8568+-0.4010 90.2989+-0.2874
<arithmetic> 119.4002+-0.1308 119.3410+-0.0937
<geometric> * 106.5774+-0.1245 ^ 106.2278+-0.0944 ^ definitely 1.0033x faster
<harmonic> 96.5913+-0.1358 ^ 96.1137+-0.1132 ^ definitely 1.0050x faster
TipOfTree LessVarSpec
Kraken:
ai-astar 495.9917+-1.5206 493.2583+-1.7667
audio-beat-detection 192.0948+-0.6968 190.9615+-0.6965
audio-dft 270.6349+-1.7262 269.1299+-1.1188
audio-fft 125.6291+-0.2261 125.3591+-0.2576
audio-oscillator 244.4530+-0.8131 ? 245.1992+-0.6760 ?
imaging-darkroom 419.6229+-0.6415 419.0268+-0.7721
imaging-desaturate 230.7385+-0.3933 230.4644+-0.3202
imaging-gaussian-blur 581.5345+-0.9318 ? 581.7813+-0.8605 ?
json-parse-financial 48.0469+-0.1243 ? 48.1503+-0.1866 ?
json-stringify-tinderbox 69.1979+-0.1952 68.9245+-0.1570
stanford-crypto-aes 129.3616+-0.5686 ? 130.0540+-0.6736 ?
stanford-crypto-ccm 99.8255+-0.2074 99.6835+-0.3729
stanford-crypto-pbkdf2 188.4051+-0.5629 187.2682+-0.7380
stanford-crypto-sha256-iterative 75.0877+-0.1487 ? 75.4085+-0.2260 ?
<arithmetic> * 226.4732+-0.2630 226.0478+-0.2578
<geometric> 175.8590+-0.1961 175.6321+-0.2035
<harmonic> 135.8531+-0.1592 135.8005+-0.1948
TipOfTree LessVarSpec
All benchmarks:
<arithmetic> 88.6915+-0.0866 88.5726+-0.0795
<geometric> 23.0686+-0.0317 ? 23.1175+-0.0310 ?
<harmonic> 7.3878+-0.0236 ? 7.4224+-0.0236 ?
TipOfTree LessVarSpec
Geomean of preferred means:
<scaled-result> 53.1863+-0.0553 53.1803+-0.0427
--
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