/xperf

local performance tool for nodejs

Primary LanguageJavaScriptBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Xperf

local performance tool for nodejs

I. Install

npm install -g xperf

II. Usage

Use ``xperf` to run nodejs application:

xperf start [app.js]

Immediately start profiling:

  • --start-cpu-profiling
  • --start-gc-profiling
  • --start-heap-profling

Use a custom node executable:

  • --node [/path/to/node]

Pass custom arguments to node:

  • --arg [arg1] --arg [arg2]

III. License

BSD-2-Clause