diff options
| author | thecharlesblake | 2017-11-15 21:21:25 +0000 |
|---|---|---|
| committer | thecharlesblake | 2017-11-15 21:21:25 +0000 |
| commit | 8a490e71c87b26bc83302349db0ecf1d8219d973 (patch) | |
| tree | 18558353b264782a691bf12268604159cb93638a /benchmark.py | |
| parent | Merge pull request #23 from thecharlesblake/benchmark-script (diff) | |
| download | metasol-8a490e71c87b26bc83302349db0ecf1d8219d973.tar.gz metasol-8a490e71c87b26bc83302349db0ecf1d8219d973.zip | |
Alter benchmark.py to kill procs after each run
Diffstat (limited to 'benchmark.py')
| -rw-r--r-- | benchmark.py | 4 |
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; |
