[Webkit-unassigned] [Bug 32722] Allow Reserved Words in Property Accessors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 11 11:50:18 PST 2010


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





--- Comment #13 from Patrick Mueller <pmuellr at yahoo.com>  2010-01-11 11:50:17 PST ---
Did some more performance testing today.  Creating two WebKit directories,
built with and without the grammar update.  Then constructed a JS file
many-jquerys.js which consisted of many copies of the statement:

   x = function() {
      [contents of jquery.js]
   }

Validated that this script file was parseable.  Then created another js file
called wait.js with the contents:

   print("press enter to continue")
   readline()

then ran jsc with both builds as 

   ./WebKitTools/Scripts/run-jsc .many-jquerys.js wait.js

I then ran "heap" on the resulting processes, which would have parsed the large
file, and then hung waiting at the readline.

The diff between the two outputs of heap resulted in a very small memory diff -
< 100 bytes - between the two runs.

I also brought up Activity Monitor and did an "inspect" of both processes. 
Likewise, no significant differences.

The size difference between the JavaScriptCore files was:

   2358888 after
   2357552 before

The difference in sizes between Grammar.o are comparable.

Concluding that there is an insignificant impact on memory use with the new
grammar.

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