Skip to content

Commit

Permalink
include memray for memory profiling
Browse files Browse the repository at this point in the history
  • Loading branch information
greinerth committed Oct 9, 2023
1 parent e648677 commit eb22b63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ dev = ["anybadge",
"pytest",
"pytest-coverage",
"pytest-mypy",
"hatchling"]
"hatchling",
"memray"]

[project.scripts]
run_ssim = "varprodmdstatspy.varprodmd_ssim_performance:run_ssim"
Expand Down
2 changes: 1 addition & 1 deletion varprodmdstatspy/varprodmd_ssim_performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def run_ssim():
STD = [0, 1e-4, 1e-3, 1e-2]
N_RUNS = 100
COMPS = [0, 0.4, 0.6, 0.8]
FCTS = list(fcts.keys)
FCTS = list(fcts.keys())

currentdir = os.path.dirname(os.path.abspath(
inspect.getfile(inspect.currentframe())))
Expand Down

0 comments on commit eb22b63

Please sign in to comment.