Chromium Code Reviews
DescriptionUse a proper closure instead of a 'close your eyes' style closure
for setting up '_printClosure'.
This avoid the startup cost of looking up types 'window', 'console'
and 'HTMLDocument' types when we try to setup _printClosure.
On a nexus 4 device the change results in the following time changes:
Before the change:
I/Dartium (25903): createIsolate before printClosure setting 155.318 ms
I/Dartium (25903): createIsolate after printClosure setting 403.052 ms
After the Change:
I/Dartium (26537): createIsolate before printClosure setting 157.058 ms
I/Dartium (26537): createIsolate after printClosure setting 162.918 ms
R=rmacnak@google.com, vsm@google.com
Committed: https://code.google.com/p/dart/source/detail?r=36943
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|
|||||||||||||||||||||||||||||||||||||