From 05a9bcee64cd93db4a30891aac3611b7c9394911 Mon Sep 17 00:00:00 2001 From: "Micah D. Gale" Date: Wed, 28 Aug 2024 07:28:36 -0500 Subject: [PATCH] Switched order of filters to make sense. --- prof/dump_results.py | 4 ++-- prof/profile_big_model.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/prof/dump_results.py b/prof/dump_results.py index fa9f9a53..75beede4 100644 --- a/prof/dump_results.py +++ b/prof/dump_results.py @@ -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) diff --git a/prof/profile_big_model.py b/prof/profile_big_model.py index b9701f39..8998d069 100644 --- a/prof/profile_big_model.py +++ b/prof/profile_big_model.py @@ -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)