cleanup performance tags

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2026-07-02 19:14:04 +02:00
parent 51a0eaaa21
commit 17c8fe91e2
7 changed files with 21 additions and 15 deletions
+2
View File
@@ -49,6 +49,8 @@ class Timer:
additions = [x for x in self.records.items() if x[1] >= min_time]
if max_time > 0:
additions = [x for x in additions if x[1] <= max_time]
if not total:
additions = [x for x in additions if x[0] != 'total']
additions = sorted(additions, key=lambda x: x[1], reverse=True)
if not additions:
return res