aboutsummaryrefslogtreecommitdiff
path: root/benchmark.py
diff options
context:
space:
mode:
authorCharlie Blake2017-12-25 22:39:46 +0000
committerGitHub2017-12-25 22:39:46 +0000
commit846b3d141352a492a5b8e0f61a2707b8feacbcc6 (patch)
tree3e10925da099bac8deb71e90d111fad2cd7abb2b /benchmark.py
parentMerge pull request #23 from thecharlesblake/benchmark-script (diff)
parentAdd necessary features for profiler (diff)
downloadmetasol-846b3d141352a492a5b8e0f61a2707b8feacbcc6.tar.gz
metasol-846b3d141352a492a5b8e0f61a2707b8feacbcc6.zip

Merge pull request #24 from thecharlesblake/basic-optimisations

Basic optimisations

Diffstat (limited to 'benchmark.py')
-rw-r--r--benchmark.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/benchmark.py b/benchmark.py
index cc8af20..4584589 100644
--- a/benchmark.py
+++ b/benchmark.py
@@ -106,7 +106,9 @@ for rulesGen in [BlackHoleRulesGen(), SpanishPatienceRulesGen(),
except:
print("Unknown error in script")
sys.exit()
-
+
+ run("pkill solvitaire", shell=True)
+
if timeouts > timeoutsLimit:
break;