Files
sdk/tools
asiva@google.com f7ccafc340 Use 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

Review URL: https://codereview.chromium.org//312653004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36943 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-03 21:09:07 +00:00
..
2014-05-27 18:05:20 +00:00
2014-05-27 18:05:20 +00:00
2014-04-28 19:12:58 +00:00
2014-05-27 18:05:20 +00:00