Fix paths to run benchmarking script (#1416)

This commit is contained in:
Girish Sharma authored and GitHub committed 2022-06-19 00:20:22 -07:00
1 parent 91cdb22a4b
commit 3ad408add7
3 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -154,7 +154,7 @@ with the master branch of your repository (or a fresh checkout of HTTPie master,
`--fresh`) and report the results back. `--fresh`) and report the results back.
```bash ```bash
$ python extras/benchmarks/run.py $ python extras/profiling/run.py
``` ```
The benchmarks can also be run on the CI. Since it is a long process, it requires manual The benchmarks can also be run on the CI. Since it is a long process, it requires manual
+1 -1
View File
@@ -10,7 +10,7 @@ Ensure the following requirements are satisfied:
- Python 3.7+ - Python 3.7+
- `pyperf` - `pyperf`
Then, run the `extras/benchmarks/run.py`: Then, run the `extras/profiling/run.py`:
```console ```console
$ python extras/profiling/run.py $ python extras/profiling/run.py
+5 -5
View File
@@ -19,19 +19,19 @@ which would include additional dependencies like pyOpenSSL.
Examples: Examples:
# Run everything as usual, and compare last commit with master # Run everything as usual, and compare last commit with master
$ python extras/benchmarks/run.py $ python extras/profiling/run.py
# Include complex environments # Include complex environments
$ python extras/benchmarks/run.py --complex $ python extras/profiling/run.py --complex
# Compare against a fresh copy # Compare against a fresh copy
$ python extras/benchmarks/run.py --fresh $ python extras/profiling/run.py --fresh
# Compare against a custom branch of a custom repo # Compare against a custom branch of a custom repo
$ python extras/benchmarks/run.py --target-repo my_repo --target-branch my_branch $ python extras/profiling/run.py --target-repo my_repo --target-branch my_branch
# Debug changes made on this script (only run benchmarks once) # Debug changes made on this script (only run benchmarks once)
$ python extras/benchmarks/run.py --debug $ python extras/profiling/run.py --debug
""" """
import dataclasses import dataclasses