I don't know of a way to do that. But you can use the sampling CPU profiler 
if you only want a statistical estimate and don't care about the exact 
number. You can use that through Chrome DevTools

On Tuesday, February 26, 2019 at 10:36:27 PM UTC+1, Harold Camacho wrote:
>
> Hi
>
> I wanted some help with instrumentation with the v8 engine. 
>
> I wanted to know if it's possible to inject JavaScript code with V8 (like 
> a global counter) so that I can count all the functions (even the 
> JavaScript core functions) that are executed (and the number of times) when 
> I run JavaScript files or a benchmark.
>
> Thanks
>
> Harold
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
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 v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to