Skip to content

Commit

Permalink
Rollback pyinstrument to v4.5.3 to resolve memory issues in profiling (
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-graham authored Dec 20, 2024
1 parent 63a06d8 commit 05d3679
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ dev = [
# Profiling
"ansi2html",
"psutil",
"pyinstrument>=4.7",
"pyinstrument>=4.3",
# Building requirements files
"pip-tools",
]
Expand Down
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ psutil==5.9.5
# via tlo (pyproject.toml)
pycparser==2.21
# via cffi
pyinstrument==4.7.3
pyinstrument==4.5.3
# via tlo (pyproject.toml)
pyjwt[crypto]==2.8.0
# via
Expand Down
1 change: 0 additions & 1 deletion src/scripts/profiling/run_profiling.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,6 @@ def run_profiling(
timeline=False,
color=True,
flat=True,
flat_time="total",
processor_options={"show_regex": ".*/tlo/.*", "hide_regex": ".*/pandas/.*", "filter_threshold": 1e-3}
)
converter = Ansi2HTMLConverter(title=output_name)
Expand Down

0 comments on commit 05d3679

Please sign in to comment.