profiler-report

0.3.0 • Public • Published

node-profiler-report

This package will generate an HTML report from the data processed by Node's profiler.

Screenshot

Getting Started

Install the package

npm install -g profiler-report

Generate some profiling data

To start the profiling process, launch node with the --prof argument before the script:

node --prof path/to/app.js

This will generate a log file. Next, process the log file to generate the summary data:

node --prof-process isolate-0xnnnnnnnnn-v8.log > processed.txt

Finally, generate the report:

profiler-report processed.txt

This will take a few seconds. When it's done, there will be a new directory called report. Inside that directory is an index.html file. The report will automatically be opened in your default browser.

Readme

Keywords

none

Package Sidebar

Install

npm i profiler-report

Weekly Downloads

3

Version

0.3.0

License

MIT

Unpacked Size

334 kB

Total Files

17

Last publish

Collaborators

  • joeattardi