Skip to content

--prof-process CLI args no longer work in 10.10.0 #22786

Closed
@bengl

Description

@bengl

Prior Node 10.10.0, the node --prof-process tool could be passed arguments altering its behavior. For example, --preprocess could be passed to deliver JSON data, and -j to only show JS VM ticks.

It seems that in Node 10.10.0, none of the --prof-process-specific arguments work anymore.

This currenly breaks 0x, clinic flame and probably some other perf-analysis tools.

e.g.

Node 10.9.0
$ node --prof-process --preprocess isolate-0x3b065a0-v8.log
# ... tons of useful JSON data
Node 10.10.0
$ node --prof-process --preprocess isolate-0x3b065a0-v8.log
node: bad option: --preprocess

I think this might be because of #22490. (/cc @addaleax)

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliIssues and PRs related to the Node.js command line interface.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions