Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: accept --name argument #399

Merged
merged 1 commit into from
Mar 15, 2023
Merged

feat: accept --name argument #399

merged 1 commit into from
Mar 15, 2023

Conversation

RafaelGSS
Copy link
Contributor

This introduces a new CLI flag, --name. It allows the user to specify an identifier for their report. For instance, let's imagine you are profiling a Node.js 18 app and performing the improvements on the flight.

$ clinic flame --name v18-test --autocannon [ / ] -- node index.js

It will generate the following tree:

.clinic
├── v18-test.clinic-flame
│   ├── v18-test.clinic-flame-inlinedfunctions
│   ├── v18-test.clinic-flame-samples
│   └── v18-test.clinic-flame-systeminfo
└── v18-test.clinic-flame.html

And every time I run the clinic flame script, it will update the current file (v18-test.clinic-flame*), so I just need to reload my .html page.

@RafaelGSS
Copy link
Contributor Author

v18 CI is a known-issue #393

@RafaelGSS RafaelGSS merged commit 8e66aca into main Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants