Describe the bug
I am unable to download the json output of the profiler summary.
To Reproduce
Steps to reproduce the behavior:
I am running this command in my WSL - scalene --json --outfile report.json sample_code.py
A report.json is generated which actually contains HTML information and not just the json output.
I have tried --json-only also but still html information.
Expected behavior
When I run "scalene sample_code.py" 2 files are generated automatically - profile.html and profile.json
I am trying to get a similar file as profile.json.
Desktop (please complete the following information):
OS: [e.g. iOS] WSL- Ubuntu-20.04
Browser [e.g. chrome, safari] Microsoft edge
Version [e.g. 22] Scalene version 1.5.43.2 (2024.07.23)
Additional context
I am trying to profile my sample.py script with multiple iteration using a bash script that runs this command 100 times.
"scalene --no-browser --json --outfile report.json sample_code.py"
I am trying to store the json response of each iteration in a folder for further analysis.
Describe the bug I am unable to download the json output of the profiler summary.
To Reproduce Steps to reproduce the behavior:
Expected behavior When I run "scalene sample_code.py" 2 files are generated automatically - profile.html and profile.json I am trying to get a similar file as profile.json.
Desktop (please complete the following information):
Additional context I am trying to profile my sample.py script with multiple iteration using a bash script that runs this command 100 times. "scalene --no-browser --json --outfile report.json sample_code.py" I am trying to store the json response of each iteration in a folder for further analysis.