0x on npm

4.7.4 (15 Mar 2019 11:03)

🔥 single-command flamegraph profiling 🔥


changelog.md

v4.0.0

  • internal refactor
  • v8 prof is now the default method of stack collection
  • profile folders renamed to {outputDir}/{name}.0x
  • CLI: add --kernel-tracing option
  • CLI: removed --svg flag
  • CLI: removed --gen flag
  • CLI: removed --timestamp-profiles flag
  • CLI: removed --theme flag
  • CLI: removed --include flag
  • CLI: removed --exclude | -x flag
  • CLI: removed --tiers | -t flag
  • CLI: removed --langs | -l flag
  • CLI: renamed --trace-info to --kernel-tracing-debug flag
  • CLI: removed --logging-output flag
  • CLI: removed --stacks-only flag
  • CLI: removed -d | --delay flag
  • CLI: renamed --json-stacks to --tree-debug flag
  • UI: removed langs button
  • UI: removed theme button
  • UI: style changes, minor redesign
  • API: altered mapFrames API (frames is now an array of objects, not strings)
  • UI: rename/reorganize type labels
  • UI: tier coloring improvements
  • UI: search improvements
  • UI: categorization improvements
  • API: removed log option
  • API: added kernelTracing option
  • API: removed svg option
  • API: removed gen option
  • API: removed timestamp-profiles option
  • API: removed theme option
  • API: removed include option
  • API: removed exclude option
  • API: removed tiers option
  • API: removed langs option
  • API: renamed traceInfo to kernelTracingDebug option
  • API: removed loggingOutput option
  • API: removed stacksOnly option
  • API: removed delay option
  • API: renamed jsonStacks to treeDebug option
  • CLI: enhanced status console output (can be overridden in API)
  • UI: added merging capability (v8 prof only)
  • UI: fully responsive
  • added capturing inline data along side v8 prof ("inlinable" functions)
  • profiling REPL no longer supported
  • support for eval'd code - appears under native frames
  • DOCS: readme changes to reflect API changes
  • DOCS: additional /docs folder for in depth topics
  • API: removed quiet (still part of CLI)
  • API: removed silent (still part of CLI)
  • API: removed open (still part of CLI)
  • CLI: add --on-port flag
  • API: add onPort option
  • CLI: removed --phase flag
  • API: removed phase option

v3.4.1

  • break out the ui and stack converter portions into separate modules: d3-fg and stacks-to-json-tree.

v3.4.0

  • introduce experimental --prof-only flag, generates flamegraph based on internal v8 profiling data, without performing kernel tracing at the same time (as --prof-viz does)

v3.3.0

  • introduce experimental --prof-viz flag, generates additional flamegraph based on internal v8 profiling data
  • linux fixes & tidy up

v3.2.0

  • introduce --phase option
  • change --delay from 300 to 0 - not a breaking change because --phase provides the same result (stripping module loading stacks) far more reliably.

v3.1.0

  • enhance --output-dir option with interpolation feature
  • add --output-html option

v3.0.2

  • missing dep

v3.0.1

  • fix auto open functionality for linux (doesn't close browser on process exit)

v3.0.0

  • node 4 support dropped, node 6+ supported
  • changelog.md added
  • refactor
  • profile folder schema change profile-{pid} -> {pid}.flamegraph
  • --timestamp-profiles prefix instead of suffix profile-{pid}-{timestamp} -> {timestamp}-{pid}.flamegraph
  • programmatic API require('0x') and require('0x/cmd')
  • removed --preview option
  • remove --command option and changed -c gen to --gen
  • added --json-stacks option and no longer storing intermediate JSON by default
  • added alias to -q: --quiet
  • added --silent flag
  • added --name flag
  • added --log-output flag
  • added double dash syntax for nesting flags, e.g.: 0x -- node --zero-fill-buffers script.js
  • --node flag removed – now possible with new CLI syntax (0x [flags] -- node [nodeFlags] script.js [scriptFlags])
  • --node-options removed – now possible with new CLI syntax (0x [flags] -- node [nodeFlags] script.js [scriptFlags])
  • CLI argument schema: unrecognized flags are now rejected
  • 0x === 0x -h (use 0x -- node or 0x -- to profile repl)
  • --stacks-only removed, (use --collect-only)
  • add --collect-only and --visualize-only

Version History

Version Date
4.7.4 15 Mar 2019 11:03
4.7.3 24 Feb 2019 18:02
4.7.2 04 Dec 2018 14:12
4.7.1 03 Dec 2018 14:12
4.7.0 28 Nov 2018 16:11
4.6.0 27 Nov 2018 10:11
4.5.3 25 Oct 2018 14:10
4.5.2 19 Oct 2018 13:10
4.5.1 08 Oct 2018 16:10
4.5.0 02 Oct 2018 14:10
4.4.5 27 Sep 2018 17:09
4.4.4 24 Sep 2018 22:09
4.4.3 19 Sep 2018 17:09
4.4.2 19 Sep 2018 12:09
4.4.1 19 Sep 2018 09:09
4.4.0 18 Sep 2018 15:09
4.3.0 28 Aug 2018 15:08
4.2.0 24 Aug 2018 13:08
4.1.6 22 Aug 2018 15:08
4.1.5 14 Aug 2018 09:08
4.1.4 10 Aug 2018 15:08
4.1.3 03 Aug 2018 10:08
4.1.2 24 Jul 2018 21:07
4.1.1 24 Jul 2018 18:07
4.1.0 17 Jul 2018 14:07
4.0.12 04 Jul 2018 10:07
4.0.11 10 May 2018 08:05
4.0.10 09 May 2018 13:05
4.0.9 12 Apr 2018 20:04
4.0.8 08 Apr 2018 21:04
4.0.7 03 Apr 2018 14:04
4.0.6 02 Apr 2018 19:04
4.0.5 02 Apr 2018 17:04
4.0.4 30 Mar 2018 12:03
2.5.4 24 Mar 2018 14:03
3.3.1 24 Mar 2018 14:03
4.0.3 24 Mar 2018 13:03
4.0.2 24 Mar 2018 06:03
4.0.1 21 Mar 2018 10:03
4.0.0 21 Mar 2018 03:03
4.0.0-rc6 16 Mar 2018 21:03
4.0.0-rc5 14 Mar 2018 22:03
4.0.0-rc4 14 Mar 2018 21:03
4.0.0-rc3 14 Mar 2018 15:03
4.0.0-rc2 14 Mar 2018 08:03
4.0.0-rc1 14 Mar 2018 00:03
3.4.2 26 Feb 2018 22:02
3.4.1 26 Feb 2018 22:02
3.4.0 12 Feb 2018 16:02
3.3.0 09 Feb 2018 02:02
3.3.0-rc5 08 Feb 2018 00:02
3.3.0-rc4 08 Feb 2018 00:02
3.3.0-rc3 08 Feb 2018 00:02
3.3.0-rc2 08 Feb 2018 00:02
3.3.0-rc1 07 Feb 2018 19:02
3.2.0 06 Feb 2018 14:02
3.1.2 05 Feb 2018 15:02
3.1.1 01 Feb 2018 18:02
3.1.0 22 Jan 2018 19:01
3.0.2 22 Jan 2018 16:01
3.0.1 22 Jan 2018 15:01
3.0.0 19 Jan 2018 23:01
3.0.0-rc3 18 Jan 2018 20:01
3.0.0-rc2 18 Jan 2018 19:01
3.0.0-rc1 18 Jan 2018 14:01
2.5.3 07 Oct 2017 16:10
2.5.2 04 Oct 2017 18:10
2.5.1 03 Oct 2017 22:10
2.5.0 28 Sep 2017 06:09
2.4.4 08 Aug 2017 18:08
2.4.3 04 Aug 2017 17:08
2.4.2 03 Apr 2017 07:04
2.4.1 17 Mar 2017 10:03
2.4.0 22 Jan 2017 22:01
2.3.1 22 Jan 2017 20:01
2.3.0 07 Dec 2016 16:12
2.2.15 02 Dec 2016 18:12
2.2.14 03 Nov 2016 12:11
2.2.13 30 Oct 2016 15:10
2.2.12 18 Oct 2016 13:10
2.2.11 19 Sep 2016 17:09
2.2.10 19 Sep 2016 17:09
2.2.9 17 Sep 2016 14:09
2.2.8 12 Aug 2016 22:08
2.2.6 24 Mar 2016 17:03
2.2.5 24 Mar 2016 16:03
2.2.4 23 Mar 2016 22:03
2.2.3 23 Mar 2016 18:03
2.2.2 23 Mar 2016 16:03
2.2.1 22 Mar 2016 12:03
2.2.0 20 Mar 2016 17:03
2.1.0 15 Mar 2016 13:03
2.0.6 10 Mar 2016 17:03
2.0.5 03 Mar 2016 03:03
2.0.4 03 Mar 2016 03:03
2.0.3 03 Mar 2016 01:03
2.0.2 03 Mar 2016 01:03
2.0.1 03 Mar 2016 01:03
2.0.0 02 Mar 2016 18:03
1.0.0 14 Feb 2016 16:02