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

Add ability to control whether profile.html is generated #819

Open
volovikariel opened this issue Apr 27, 2024 · 0 comments
Open

Add ability to control whether profile.html is generated #819

volovikariel opened this issue Apr 27, 2024 · 0 comments

Comments

@volovikariel
Copy link

Is your feature request related to a problem? Please describe.
As I only use the scalene viewer (because it supports local LLMs, it also allows for hovering over numbers the bars to view the percentages), I'd like to be able to opt out of outputting a profile.html file.

Even if those features were available locally, I'd still rather have only one HTML/JSON be outputted - so as to not have to deal with more files than I need to.

Describe the solution you'd like
I'd like to be able to opt out of it just like I'm able to opt out of opening a browser. So something like no_html.

Describe alternatives you've considered
Alternatively, we can do something like --html False.

Alternatively, being able to specify the location of the JSON file separately would also work. As then I'd be able to set --outfile to /dev/null, which would nuke the html file, and then I'd be able to set --json profile.json.

Additional context
I tried setting --outfile to /dev/null to nuke the profile.html file currently, but it seems that the .json filepath is relative to --outfile (1 2 3 4 )

@volovikariel volovikariel changed the title Ability to control whether profile.html is generated Add ability to control whether profile.html is generated Apr 27, 2024
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

No branches or pull requests

1 participant