summaryrefslogtreecommitdiff
path: root/analyze.py
blob: 1720719ab33719353c43658a45d8a4a61eaa938a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from stats import *
import sys

if len(sys.argv) >= 2:
    files = sys.argv[1:]
else:
    files = ["stats.pickle"]


s = Stats.load(files[0])
for f in files[1:]:
    s.merge(f)

s.analyze_speed()
print("\n" + "-"*40 + "\n")
s.analyze_visible_window(True)