node-inspector / v8-profiler

node bindings for the v8 profiler
BSD 2-Clause "Simplified" License
1.13k stars 134 forks source link

Performance impact? #132

Open carera opened 5 years ago

carera commented 5 years ago

Hi, thanks for the great lib! One question: Do you know what is the performance impact when you run v8Profiler.startProfiling? I notice sometimes my app logs "Debugger attached" in the console and I realise there might be some slow-down due to profiling. I wonder whether this still applies even when you stop profiling using v8Profiler.stopProfiling. Is the debugger/profiler (or whatever is under the hood) unattached?