README.md
This file
Path
tools/httpxprof/README.md
27 lines · 573 bytes · Markdown
Last changed by
Add tool for profiling (#364)Florimond Mancabefore adoptione1da6b9
History of this fileTake it
Add tool for profiling (#364)Florimond Mancabefore adoptione1da6b9
lines 1–27why, one step back1# httpxprof23A tool for profiling [HTTPX](https://github.com/encode/httpx) using cProfile and [SnakeViz](https://jiffyclub.github.io/snakeviz/).45## Usage67```bash8# Run one of the scripts:9httpxprof run async1011# View results:12httpxprof view async13```1415You can ask for `--help` on `httpxprof` and any of the subcommands.1617## Installation1819```bash20# From the HTTPX project root directory:21pip install -e tools/httpxprof2223# From this directory:24pip install -e .25```2627`httpxprof` assumes it can `import httpx`, so you need to have HTTPX installed (either from local or PyPI).