Author: [email protected]
Date: Fri Jul  3 03:02:51 2009
New Revision: 2349

Modified:
    branches/bleeding_edge/src/debug-delay.js

Log:
We've got complains that sending afterCompile events to debug message  
handler may have considerable impact on the profiler when inspected script  
does lots of 'eval's. The proposed solution is to request source of the  
compiled script lazily instead of sending it in afterCompile event.

Corresponding Chromium bug:
http://code.google.com/p/chromium/issues/detail?id=15913
Review URL: http://codereview.chromium.org/149176

Modified: branches/bleeding_edge/src/debug-delay.js
==============================================================================
--- branches/bleeding_edge/src/debug-delay.js   (original)
+++ branches/bleeding_edge/src/debug-delay.js   Fri Jul  3 03:02:51 2009
@@ -991,7 +991,6 @@
    }
    o.body = {};
    o.body.script = this.script_;
-  o.setOption('includeSource', true);

    return o.toJSONProtocol();
  }

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to