Re: [v8-users] Profiling v8 inside chromium/content_shell

2013-06-12 Thread Adam Klein
On Tue, Jun 11, 2013 at 2:38 AM, Kentaro Hara hara...@chromium.org wrote: Also, I'm a bit surprised at the way the v8 DOM callbacks end up in the profile: those methods are usually trivial, with the real work being somewhere deep in the core of Blink. Is it expected that only the v8 entry

Re: [v8-users] Profiling v8 inside chromium/content_shell

2013-06-12 Thread Yang Guo
Hi, as you have correctly observed, the timeline plot only takes those callbacks into account that are done in a VMState scope: VMState changes to and from EXTERNAL are logged. Fast API calls, i.e. jitted ones, are therefore not logged. That is, unless you specify --log-timer-events, which causes

Re: [v8-users] Profiling v8 inside chromium/content_shell

2013-06-11 Thread Jochen Eisinger
+kentaro for some profiling insights On Tue, Jun 11, 2013 at 7:24 AM, Adam Klein ad...@chromium.org wrote: I'm trying to profile the v8 execution of a web app using Chromium's content_shell with some success. But I'm also getting some odd results. I'm using a commandline like:

Re: [v8-users] Profiling v8 inside chromium/content_shell

2013-06-11 Thread Kentaro Hara
Also, I'm a bit surprised at the way the v8 DOM callbacks end up in the profile: those methods are usually trivial, with the real work being somewhere deep in the core of Blink. Is it expected that only the v8 entry point into Blink shows up when using the profiling tool? I've played around

Re: [v8-users] Profiling v8 inside chromium/content_shell

2013-06-11 Thread Ben Noordhuis
On Tue, Jun 11, 2013 at 7:24 AM, Adam Klein ad...@chromium.org wrote: I'm trying to profile the v8 execution of a web app using Chromium's content_shell with some success. But I'm also getting some odd results. I'm using a commandline like: content_shell --no-sandbox --js-flags='--prof