Merge branch 'master' into language_status

This commit is contained in:
Veronica K. B. Olsen committed 2019-11-16 12:16:15 +01:00
commit 82aa1ad0a9
2 files changed
+17

No files matched your search

+1
View File
@@ -23,6 +23,7 @@ sample/**/*.json
tests/temp
.pytest_cache
pytestdebug.log
prof/
# Coverage
.coverage
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import pstats
from os import path
profDir = path.abspath(path.join(path.dirname(__file__),"..","prof"))
print("")
print("Profiles directory: %s" % profDir)
print("")
profMainWindows = pstats.Stats(path.join(profDir,"testMainWindows.prof"))
profMainWindows.sort_stats("cumtime")
profMainWindows.print_stats("nw",50)