- code refactor
- v8 prof is now the default method of stack collection
- add
--kernel-tracing
option - removed
--svg
flag - removed
--gen
flag - removed
--timestamp-profiles
- removed
--theme
- removed
--include
- removed
--exclude | -x
- removed
--tiers | -t
- removed
--langs | -l
- renamed
--trace-info
to--kernel-tracing-debug
- removed
--log-output
- removed
--stacks-only
- profile folders renamed to
{outputDir}/{name}.0x
- break out the ui and stack converter portions into separate modules: d3-fg and stacks-to-json-tree.
- 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)
- introduce experimental
--prof-viz
flag, generates additional flamegraph based on internal v8 profiling data - linux fixes & tidy up
- introduce
--phase
option - change
--delay
from300
to0
- not a breaking change because--phase
provides the same result (stripping module loading stacks) far more reliably.
- enhance
--output-dir
option with interpolation feature - add
--output-html
option
- missing dep
- fix auto open functionality for linux (doesn't close browser on process exit)
- node 4 support dropped, node 6+ supported
- changelog.md added
- refactor
- profile folder schema change
profile-{pid}
->{pid}.flamegraph
--timestamp-profiles
prefix instead of suffixprofile-{pid}-{timestamp}
->{timestamp}-{pid}.flamegraph
- programmatic API
require('0x')
andrequire('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
(use0x -- node
or0x --
to profile repl)--stacks-only
removed, (use--collect-only
)- add
--collect-only
and--visualize-only