0x/usage.txt
davidmarkclements be69485772 linux 3rd pass
2016-02-26 16:17:56 +00:00

32 lines
1.0 KiB
Plaintext

0x [flags] file.js
0x [flags] node [node-flags] file.js
--no-preview Disable flamegraph image generation
Depends on imagemagick (brew install imagemagick)
If using iTerm 2.9+ image will be output to terminal
Default: false
--trace-info Show output from dtrace or perf tools
Default: false
--theme Dark or Light theme
Default: Dark
--langs | -l Coarser form of tiers, colour code by JS or C
Default: false
--tiers | -t Overrides langs, Colour code frames by type:
v8 internals, syscall, native js, core js, dep js,
app js
Default: false
--stacks-only Don't generate the flamegraph, only create the stacks
output.
If assigned to '-' stacks output will come through stdout
Default: false
--cmd | -c Command Mode - A tool set for processing data in
the profile folder.
Run 0x --cmd help for a list of commands