Skip to content

Commit

Permalink
add makefile target and config file for comparing perf
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Dec 7, 2016
1 parent 079b4e5 commit dcdb258
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Expand Up @@ -24,6 +24,12 @@ watch:
make all; \
done

PERF_CONF = test_perf.toml
perf_compare: build $(PERF_CONF)
frogtest run -c $(PERF_CONF) --no-caching
frogtest plot -c $(PERF_CONF) -o perf.pdf
frogtest csv -o perf.csv

benchs: build
frogtest run -c benchmarks/smbc.toml --meta `git rev-parse HEAD`

Expand Down
32 changes: 32 additions & 0 deletions test_perf.toml
@@ -0,0 +1,32 @@
# perf comparison

provers = [ "smbc", "smbc-normal" ]

[smbc]

binary = "./smbc.native"
cmd = "./smbc.native --check -t $timeout -nc $file"
unsat = "result UNSAT"
sat = "result SAT"
unknown = "TIMEOUT|UNKNOWN"
timeout = "TIMEOUT"
version = "git:."

[smbc-normal]

binary = "smbc-normal"
cmd = "smbc-normal --check -t $timeout -nc $file"
unsat = "result UNSAT"
sat = "result SAT"
unknown = "TIMEOUT|UNKNOWN"
timeout = "TIMEOUT"

[test]

timeout=30
problems = ".*.(lisp|smt2)"
default_expect = "sat"
provers = [ "smbc", "smbc-normal" ]
dir = [ "examples" ]


0 comments on commit dcdb258

Please sign in to comment.