On Wed, Nov 9, 2016 at 7:03 PM, Talha <[email protected]> wrote:
> Hi Ben,
>
> Here are a couple of excerpts from the log file. I executed a simple
> Fibonacci application using node with --log-timer-events option.
>
> timer-event-start,"V8.External",324787996
> timer-event-start,"V8.CompileScriptMicroSeconds",324819996
> timer-event-start,"V8.ParseMicroSeconds",324835996
> timer-event-end,"V8.ParseMicroSeconds",324947996
> timer-event-start,"V8.CompileMicroSeconds",324963996
> timer-event-start,"V8.CompileFullCode",324983996
> timer-event-start,"V8.CompileFullCode",324999996
> timer-event-end,"V8.CompileFullCode",325035996
> code-creation,Function,0,0x7315324c240,460,"
> /home/talha/node_modules/fibonacci/example.js:1:11",0x297e43466190,~
> timer-event-end,"V8.CompileFullCode",325083996
> code-creation,Script,0,0x7315324c420,252,"/home/talha/node_modules/fibonacci/example.js",0x297e434662d0,~
> timer-event-end,"V8.CompileMicroSeconds",325107996
> timer-event-end,"V8.CompileScriptMicroSeconds",325119996
> timer-event-end,"V8.External",325127996
>
> --------------------------------------------------------------------------------------------------------
>
> timer-event-start,"V8.GCCompactor",7460000
> timer-event-start,"V8.External",7508000
> timer-event-end,"V8.External",7524000
> timer-event-start,"V8.External",12532000
> timer-event-end,"V8.External",12548000
> timer-event-end,"V8.GCCompactor",12596000
>
> ---------------------------------------------------------------------------------------------------------
>
> I have also attached a .doc file having the log. You can see such patterns
> highlighted in the file.

Thanks, I see what you mean now.

> Does it mean that "compile_full_code" activity started with the first
> 'start' event and ended at the last 'end'? Can we consider the entirety of
> above pattern to belong to the "Full Code generator" activity and ignore the
> start - end pairs in between?

Correct, V8.CompileScriptMicroSeconds is the main event, the ones in
between (like V8.ParseMicroSeconds) are phases.

> There may also be timer events for other activities (let's say icmiss
> events) in between these events. Would they also be considered part of this
> "FullCodeGen" activity?

I don't think so.  IC misses are normally generated from running JS code.

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to