Use it with the classic cProfile (now called profiling.tracing) or Python 3.15’s new sampling profiler, Tachyon (profiling.sampling).
adamj.eu/tech/2026/04...
#Python
Use it with the classic cProfile (now called profiling.tracing) or Python 3.15’s new sampling profiler, Tachyon (profiling.sampling).
adamj.eu/tech/2026/04...
#Python
Learn how to efficiently profile Django migrations and other Python scripts using cProfile and pstats to analyze slow functions and optimize database calls. #djangonews
adamj.eu/tech/2025/0...
Learn how to efficiently profile Django migrations and other Python scripts using cProfile and pstats to analyze slow functions and optimize database calls. #djangonews
adamj.eu/tech/2025/0...
The worked example shows profiling a Django migration.
#Python #Django
adamj.eu/tech/2025/05...
The worked example shows profiling a Django migration.
#Python #Django
adamj.eu/tech/2025/05...
# cProfile does the measuring as usual, here on my test suite
python -m cProfile -o tests.pstats -m pytest
# the tool gives a nice interactive viewer of the output
uvx profiling-explorer tests.pstats
# cProfile does the measuring as usual, here on my test suite
python -m cProfile -o tests.pstats -m pytest
# the tool gives a nice interactive viewer of the output
uvx profiling-explorer tests.pstats
Published on Tuesday, May 20, 2025
Published on Tuesday, May 20, 2025
Table-based exploration tool for Python profiling data (pstats files).
https://github.com/adamchainz/profiling-explorer
Table-based exploration tool for Python profiling data (pstats files).
https://github.com/adamchainz/profiling-explorer