[Webkit-unassigned] [Bug 20589] PropertyMap speedup

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 2 01:34:20 PDT 2008


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





------- Comment #3 from zherczeg at inf.u-szeged.hu  2008-09-02 01:34 PDT -------
Hi,

I made extensive testing and gather as much information as possible to help
you.

These are the results for WindScorpion benchmark suite:

Original code:
Runtime: 31882.0ms +/- 0.8%

Lookup table size: 1 key
  lookupHits: 36211684 times
  lookupMiss: 52271769 times
  That is 40.9% lookup hit ratio
  Performance: 31795.5ms +/- 1.0% -> 0.3% performance improvement ( not
significant!!! )

Lookup table size: 2 key
  lookupHits: 63370946 times
  lookupMiss: 24868347 times
  That is 71.8% lookup hit ratio
  Performance: 31083.9ms +/- 0.7% -> 2.57% performance improvement

My conclusions:
It seems the lookup table with 2 entries is more suitable for common JavaScript
programs than the one with with only 1 entry, which is, on the contrary,
slightly more suitable for optimized JavaScript code like SunSpider.

I enclose all comparions for Sunspider and Windscorpion.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list