Skip to content
Myr

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 file

Take it

Show the source

README.md

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).