mirror of
https://github.com/curl/curl.git
synced 2026-07-30 19:48:04 +03:00
fix badword, fix python string format
This commit is contained in:
parent
4fb52808dc
commit
43295e0ced
2 changed files with 2 additions and 2 deletions
|
|
@ -66,6 +66,6 @@ With the excellent [Flame Graph](https://github.com/brendangregg/FlameGraph) by
|
|||
curl> FLAMEGRAPH=/Users/sei/projects/FlameGraph python3 tests/http/scorecard.py \
|
||||
-r --request-count=50000 --request-parallels=100 --samples=1 --flame h2
|
||||
```
|
||||
and you'll have the SVG of the run in `tests/http/gen/curl/curl.flamegraph.svg`. You can open that in Firefox and zoom in/out of stacks of interest.
|
||||
and the SVG of the run is in `tests/http/gen/curl/curl.flamegraph.svg`. You can open that in Firefox and zoom in/out of stacks of interest.
|
||||
|
||||
Note: as with `dtrace`, the flame graph is for the last invocation of curl done by scorecard.
|
||||
|
|
|
|||
|
|
@ -999,7 +999,7 @@ class CurlClient:
|
|||
if not os.path.exists(dtrace.file):
|
||||
raise Exception(f'dtrace output file does not exist: {dtrace.file}')
|
||||
if 'FLAMEGRAPH' not in os.environ:
|
||||
raise Exception(f'Env variable FLAMEGRAPH not set')
|
||||
raise Exception('Env variable FLAMEGRAPH not set')
|
||||
fg_dir = os.environ['FLAMEGRAPH']
|
||||
if not os.path.exists(fg_dir):
|
||||
raise Exception(f'FlameGraph directory not found: {fg_dir}')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue