We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
You need to build it from source after making next changes:
Handle<Script> script; to Handle<UnboundScript> script;
Handle<Script> script;
Handle<UnboundScript> script;
void JitLogger::LogRecordedBuffer(...)
event.script = ToApiHandle<v8::UScript>(script_handle); to event.script = ToApiHandle<v8::UnboundScript>(script_handle);
event.script = ToApiHandle<v8::UScript>(script_handle);
event.script = ToApiHandle<v8::UnboundScript>(script_handle);
void VTUNEJITInterface::event_handler(const v8::JitCodeEvent* event)
Handle<Script> script = event->script; to Handle<UnboundScript> script = event->script;
Handle<Script> script = event->script;
Handle<UnboundScript> script = event->script;
#include "v8-vtune.h" // located in \deps\v8\src\third_party\vtune void Init(...) { … V8::SetFlagsFromCommandLine(&v8_argc, const_cast(v8_argv), true); vTune::InitializeVtuneForV8(); }
'target_name': 'node', 'type': 'executable', 'dependencies': [ 'node_js2c#host', 'deps/v8/src/third_party/vtune/v8vtune.gyp:v8_vtune', ],
Then:
$ ./configure --enable-vtune-profiling $ ./make
Run cmd with Administrative rights:
python sea_runtool.py -b ..\build_win\bin -o path_where_to_put_the_trace -f gt --stacks ! node_source\node.exe your_script.js
You will get the trace:
Special thanks to Sergey Neimushchev for enabling of node.js profiling in Intel® Single Event API!