0.1.1 • Published 1 month ago
v8-inspect-profiler v0.1.1
V8 Inspect Profiler
This node module offers v8 cpu profiling via the Chrome DevTools protocol.
Usage
Start the node.js instance that you want to profile
node --inspect-brk=5222 myApp.js
Next, start profiling. Create an app that starts and stops profiling. Like so:
const profiler = require('v8-inspect-profiler');
// connect and start profiler
const session = await profiler.startProfiling({port: 5222 });
// time goes by ...
// stop profiler and disconnect
const profile = await session.stop();
// save profile to disk
await profiler.writeProfile(profile, 'somepath.cpuprofile');
0.1.1
1 month ago
0.1.0
2 years ago
0.0.22
3 years ago
0.0.21
3 years ago
0.0.20
5 years ago
0.0.19
5 years ago
0.0.18
5 years ago
0.0.15
5 years ago
0.0.14
5 years ago
0.0.13
5 years ago
0.0.12
5 years ago
0.0.11
5 years ago
0.0.10
5 years ago
0.0.9
5 years ago
0.0.8
6 years ago
0.0.7
6 years ago
0.0.6
6 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.3
6 years ago
0.0.1
6 years ago