[v8-users] Re: Instrumentation with V8

2019-03-16 Thread Daniel Ramos Navarro
El martes, 26 de febrero de 2019, 14:36:27 (UTC-7), Harold Camacho escribió: > 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 t

[v8-users] Re: Instrumentation with V8

2019-02-27 Thread Harold Camacho
I'm afraid I need to get the exact number of executed functions. On Wednesday, February 27, 2019 at 11:50:30 AM UTC-4, Peter Marshall wrote: > > 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

[v8-users] Re: Instrumentation with V8

2019-02-27 Thread Harold Camacho
On Tuesday, February 26, 2019 at 5:36:27 PM UTC-4, 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 > Ja

[v8-users] Re: Instrumentation with V8

2019-02-27 Thread 'Peter Marshall' via v8-users
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 h