Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit c310361

Browse files
committed
Include pyinstrument and profile script
1 parent e22f5b1 commit c310361

File tree

3 files changed

+76
-1
lines changed

3 files changed

+76
-1
lines changed

meta/profile.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
set -euo pipefail
3+
4+
# shellcheck disable=SC1091
5+
source "./meta/_/env.sh"
6+
7+
export PYTHONPATH="src"
8+
exec ./.venv/bin/pyinstrument -r html "$@"

poetry.lock

Lines changed: 67 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ package-mode = false
44
[tool.poetry.group.dev.dependencies]
55
django-debug-toolbar = "^4.4.6"
66
ruff = "^0.12.7"
7+
pyinstrument = "^5.0.3"
78

89
[tool.poetry.dependencies]
910
python = "^3.12"

0 commit comments

Comments
 (0)