Skip to content

Commit

Permalink
Switched order of filters to make sense.
Browse files Browse the repository at this point in the history
  • Loading branch information
MicahGale committed Aug 28, 2024
1 parent ff61447 commit 05a9bce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions prof/dump_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
from pstats import SortKey

stats = pstats.Stats("prof/combined.prof")
stats.sort_stats(SortKey.CUMULATIVE, SortKey.TIME).print_stats(300, "montepy")
stats.sort_stats(SortKey.CUMULATIVE, SortKey.TIME).print_stats(100, "sly")
stats.sort_stats(SortKey.CUMULATIVE, SortKey.TIME).print_stats("montepy", 50)
stats.sort_stats(SortKey.CUMULATIVE, SortKey.TIME).print_stats("sly", 20)
4 changes: 2 additions & 2 deletions prof/profile_big_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@

stats = pstats.Stats("prof/big.prof")
stats.sort_stats(pstats.SortKey.CUMULATIVE, pstats.SortKey.TIME).print_stats(
100, "montepy"
"montepy", 70
)
stats.sort_stats(pstats.SortKey.CUMULATIVE, pstats.SortKey.TIME).print_stats(100, "sly")
stats.sort_stats(pstats.SortKey.CUMULATIVE, pstats.SortKey.TIME).print_stats("sly", 20)

0 comments on commit 05a9bce

Please sign in to comment.