[Webkit-unassigned] [Bug 76492] REGRESSION(r103608): div.lang is 4.8x slower than div.title

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 2 06:23:34 PST 2012


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





--- Comment #5 from Kentaro Hara <haraken at chromium.org>  2012-03-02 06:23:33 PST ---
It appears this performance regression is already fixed.

Test1: (function () { var div = document.createElement("div"); console.time(1); for (var i = 0; i < 100000000; i++) { div.lang } console.timeEnd(1); })();

Test2: (function () { var div = document.createElement("div"); console.time(1); for (var i = 0; i < 100000000; i++) { div.title } console.timeEnd(1); })();


Results:

Test1 on Chromium/Mac: 2534ms
Test2 on Chromium/Mac: 2531ms
Test1 on AppleWebKit/Mac: 1277ms
Test2 on AppleWebKit/Mac: 1278ms

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