Comment #5 on issue 2179 by [email protected]: Breakpoint of not
executed function slows down javascript performance
http://code.google.com/p/v8/issues/detail?id=2179
This issue seems to boil down to a bad combination of disabling crankshaft
(--nocrankshaft) and enabling the debugger (--debugger). Consider this code
for d8
for(var i=0;i<10000000;i++) {
Math.sqrt(2);
}
while it takes 35ms with crankshaft turned on regardless of whether the
debugger is enabled, it takes 370ms when crankshaft is disabled and 1263ms
when cranshaft is disabled and the debugger enabled.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev