mirror of
https://github.com/davidmarkclements/0x.git
synced 2026-01-25 14:47:55 +00:00
32 lines
1.0 KiB
Plaintext
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 |