httpx/tools/httpxprof
2019-09-21 12:02:02 -05:00
..
httpxprof Add tool for profiling (#364) 2019-09-21 12:02:02 -05:00
.gitignore Add tool for profiling (#364) 2019-09-21 12:02:02 -05:00
README.md Add tool for profiling (#364) 2019-09-21 12:02:02 -05:00
setup.py Add tool for profiling (#364) 2019-09-21 12:02:02 -05:00

httpxprof

A tool for profiling HTTPX using cProfile and SnakeViz.

Usage

# Run one of the scripts:
httpxprof run async

# View results:
httpxprof view async

You can ask for --help on httpxprof and any of the subcommands.

Installation

# From the HTTPX project root directory:
pip install -e tools/httpxprof

# From this directory:
pip install -e .

httpxprof assumes it can import httpx, so you need to have HTTPX installed (either from local or PyPI).