Hello

I have two questions about the profiler in d8: [3.19.18.4 // Windows 7 // 
d8 --prof --log_timer_events test.js]

1) Can I change the sampling period?

The sampling period I get is 16 ms, which isn't very useful. The sampling 
period I get in Canary [chrome --no-sandbox --js-flags="--prof 
--noprof_lazy --log_timer_events"] is 1 ms.

I noticed that the flag --cpu_profiler_sampling_period has been dropped. 
I've tried searching the v8 source but I'm not familiar with it and I 
wasn't able to work out what to do.

2) Can I add timer events to JS code?

In Chrome this can be done with console.time() and console.timeEnd().

Thanks

-- 
-- 
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/groups/opt_out.


Reply via email to