[Webkit-unassigned] [Bug 79184] Implement SpinLockMutexLocker on WTF and optimize some parts of JavaScriptCore using it

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 22 18:42:05 PST 2012


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





--- Comment #5 from Kwonjin Jeong <gram at company100.net>  2012-02-22 18:42:05 PST ---
(In reply to comment #3)
> How did you confirm that this patch is an optimization?

I attach the sunspider results below.

MutexLocker
============================================
RESULTS (means and 95% confidence intervals)
--------------------------------------------
Total:                 188.7ms +/- 0.5%
--------------------------------------------

  3d:                   26.9ms +/- 1.5%
    cube:                8.0ms +/- 0.0%
    morph:              10.1ms +/- 2.2%
    raytrace:            8.8ms +/- 3.4%

  access:               17.7ms +/- 2.0%
    binary-trees:        2.0ms +/- 0.0%
    fannkuch:            8.3ms +/- 4.2%
    nbody:               4.0ms +/- 0.0%
    nsieve:              3.4ms +/- 10.9%

  bitops:               15.8ms +/- 1.9%
    3bit-bits-in-byte:   1.0ms +/- 0.0%
    bits-in-byte:        5.8ms +/- 5.2%
    bitwise-and:         3.0ms +/- 0.0%
    nsieve-bits:         6.0ms +/- 0.0%

  controlflow:           2.0ms +/- 0.0%
    recursive:           2.0ms +/- 0.0%

  crypto:               12.2ms +/- 2.5%
    aes:                 8.1ms +/- 2.8%
    md5:                 2.0ms +/- 0.0%
    sha1:                2.1ms +/- 10.8%

  date:                 22.8ms +/- 2.0%
    format-tofte:       12.2ms +/- 2.5%
    format-xparb:       10.6ms +/- 3.5%

  math:                 23.7ms +/- 2.5%
    cordic:              8.0ms +/- 0.0%
    partial-sums:       13.3ms +/- 2.6%
    spectral-norm:       2.4ms +/- 15.4%

  regexp:               11.0ms +/- 0.0%
    dna:                11.0ms +/- 0.0%

  string:               56.6ms +/- 1.4%
    base64:              4.6ms +/- 8.0%
    fasta:               8.1ms +/- 2.8%
    tagcloud:           14.1ms +/- 1.6%
    unpack-code:        23.8ms +/- 1.9%
    validate-input:      6.0ms +/- 0.0%


SpinLockMutexLocker
============================================
RESULTS (means and 95% confidence intervals)
--------------------------------------------
Total:                 187.4ms +/- 0.4%
--------------------------------------------

  3d:                   27.0ms +/- 1.2%
    cube:                8.0ms +/- 0.0%
    morph:              10.1ms +/- 2.2%
    raytrace:            8.9ms +/- 2.5%

  access:               17.5ms +/- 2.2%
    binary-trees:        2.0ms +/- 0.0%
    fannkuch:            8.1ms +/- 2.8%
    nbody:               4.0ms +/- 0.0%
    nsieve:              3.4ms +/- 10.9%

  bitops:               16.0ms +/- 0.0%
    3bit-bits-in-byte:   1.0ms +/- 0.0%
    bits-in-byte:        6.0ms +/- 0.0%
    bitwise-and:         3.0ms +/- 0.0%
    nsieve-bits:         6.0ms +/- 0.0%

  controlflow:           2.1ms +/- 10.8%
    recursive:           2.1ms +/- 10.8%

  crypto:               12.0ms +/- 0.0%
    aes:                 8.0ms +/- 0.0%
    md5:                 2.0ms +/- 0.0%
    sha1:                2.0ms +/- 0.0%

  date:                 22.3ms +/- 1.5%
    format-tofte:       12.2ms +/- 2.5%
    format-xparb:       10.1ms +/- 2.2%

  math:                 23.1ms +/- 1.0%
    cordic:              8.0ms +/- 0.0%
    partial-sums:       13.0ms +/- 0.0%
    spectral-norm:       2.1ms +/- 10.8%

  regexp:               11.0ms +/- 0.0%
    dna:                11.0ms +/- 0.0%

  string:               56.4ms +/- 0.9%
    base64:              4.4ms +/- 8.4%
    fasta:               8.0ms +/- 0.0%
    tagcloud:           14.0ms +/- 0.0%
    unpack-code:        23.9ms +/- 0.9%
    validate-input:      6.1ms +/- 3.7%

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