RESOLVED FIXED 78507
Chrome V8 tracing is incomplete
https://bugs.webkit.org/show_bug.cgi?id=78507
Summary Chrome V8 tracing is incomplete
Rick Byers
Reported 2012-02-13 10:37:03 PST
V8Proxy::evaluate has instrumentation to add a 'v8.run' entry in chrome://tracing. If we're going to indicate when time is being spent inside V8, we should try to be more thorough. I've found V8Proxy::callFunction to be another significant source in practice, and presumably V8Proxy::newInstance can also be an important entrypoint.
Attachments
Patch (1.59 KB, patch)
2012-02-13 10:41 PST, Rick Byers
no flags
Patch (2.68 KB, patch)
2012-02-13 14:51 PST, Rick Byers
no flags
Patch (2.79 KB, patch)
2012-02-13 15:21 PST, Rick Byers
no flags
Rick Byers
Comment 1 2012-02-13 10:41:36 PST
Eric Seidel (no email)
Comment 2 2012-02-13 11:11:17 PST
Comment on attachment 126794 [details] Patch All Changes require a ChangeLog entry. But otherwise I doubt this is a controvesial change. :)
Adam Barth
Comment 3 2012-02-13 11:25:20 PST
Comment on attachment 126794 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=126794&action=review > Source/WebCore/bindings/v8/V8Proxy.cpp:431 > +#if PLATFORM_CHROMIUM This should be #if PLATFORM(CHROMIUM)
Rick Byers
Comment 4 2012-02-13 14:51:51 PST
Rick Byers
Comment 5 2012-02-13 14:53:38 PST
Thanks for the feedback - didn't realize people would look at my patch as soon as I uploaded it (as opposed to the Chromium process where we have to explicitly ask someone to review). Please see updated patch.
Eric Seidel (no email)
Comment 6 2012-02-13 14:55:51 PST
Comment on attachment 126842 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=126842&action=review > Source/WebCore/ChangeLog:8 > + No new tests. (OOPS!) The commit-queue will barf on this line. You'll need to replace this line with either an explanation of why testing is impossible/impractical (as is likely the case here) or list tests which cover this change.
Rick Byers
Comment 7 2012-02-13 15:21:25 PST
Rick Byers
Comment 8 2012-02-13 15:22:05 PST
Comment on attachment 126842 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=126842&action=review >> Source/WebCore/ChangeLog:8 >> + No new tests. (OOPS!) > > The commit-queue will barf on this line. You'll need to replace this line with either an explanation of why testing is impossible/impractical (as is likely the case here) or list tests which cover this change. Thanks, updated.
Eric Seidel (no email)
Comment 9 2012-02-13 15:34:35 PST
Comment on attachment 126848 [details] Patch Thanks.
WebKit Review Bot
Comment 10 2012-02-14 01:13:22 PST
Comment on attachment 126848 [details] Patch Clearing flags on attachment: 126848 Committed r107685: <http://trac.webkit.org/changeset/107685>
WebKit Review Bot
Comment 11 2012-02-14 01:13:27 PST
All reviewed patches have been landed. Closing bug.
Darin Adler
Comment 12 2014-04-24 16:45:27 PDT
Moving all JavaScriptGlue bugs to JavaScriptCore. The JavaScriptGlue framework itself is long gone. And most of the more recent bugs put in this component were put there by people who thought this was for some other aspect of “JavaScript glue” and have nothing to do with the actual original reason for the existence of this component, which was an OS-X-only framework named JavaScriptGlue.
Note You need to log in before you can comment on or make changes to this bug.