- Go to chrome://flags/#enable-devtools-experiments
- Enable DevTools experiments
- Restart Chrome
- Open DevTools - Settings - Experiments
- Hit Shift 6 times
- Check the option called Timeline: V8 Runtime Call Stats on Timeline
- Close then re-open DevTools
16 апр. 2019 г.
V8 Runtime Call Stats on Timeline
1 мар. 2019 г.
V8 --prof
Run Chrome or Node.js with --prof flag chrome --js-flags='--prof' --no-sandbox 'http://localhost:8080/'
node --prof script.js
Install tick processor https://github.com/dex4er/js-tick-processor
npm install -g tick-processor
tick-processor isolate-0x123456-v8.log >isolate-0x123456-v8.txt
Подписаться на:
Сообщения (Atom)