diff --git a/pyproject.toml b/pyproject.toml index a8622e235d..ce24c3a3cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,7 +57,7 @@ dev = [ # Profiling "ansi2html", "psutil", - "pyinstrument>=4.7", + "pyinstrument>=4.3", # Building requirements files "pip-tools", ] diff --git a/requirements/dev.txt b/requirements/dev.txt index e8bbc2e0c9..a6e0468a19 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -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 diff --git a/src/scripts/profiling/run_profiling.py b/src/scripts/profiling/run_profiling.py index 180a7571ab..caca37ed50 100644 --- a/src/scripts/profiling/run_profiling.py +++ b/src/scripts/profiling/run_profiling.py @@ -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)