[Webkit-unassigned] [Bug 44104] Refactor number parsing in the lexer
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 19 01:16:44 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=44104
--- Comment #6 from Zoltan Herczeg <zherczeg at webkit.org> 2010-08-19 01:16:44 PST ---
> Seems a shame we have to do this just in case of the overflow. It would be nice to find a way to skip this in the fast path.
The way is found, but the introduced complexity is not necessary worth the efforts.
Now the parsing is slightly faster:
TEST COMPARISON FROM TO DETAILS
=============================================================================
** TOTAL **: 1.028x as fast 33.3ms +/- 2.0% 32.4ms +/- 1.1% significant
=============================================================================
jquery: - 5.2ms +/- 5.8% 5.0ms +/- 0.0%
1.3.2: - 5.2ms +/- 5.8% 5.0ms +/- 0.0%
mootools: - 5.6ms +/- 6.6% 5.3ms +/- 6.5%
1.2.2-core-nc: - 5.6ms +/- 6.6% 5.3ms +/- 6.5%
prototype: - 6.2ms +/- 4.9% 6.1ms +/- 3.7%
1.6.0.3: - 6.2ms +/- 4.9% 6.1ms +/- 3.7%
concat: - 16.3ms +/- 2.1% 16.0ms +/- 0.0%
jquery-mootools-prototype: - 16.3ms +/- 2.1% 16.0ms +/- 0.0%
--
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