Skip to content

Commit

Permalink
add btor2 files
Browse files Browse the repository at this point in the history
  • Loading branch information
abolotina committed Nov 23, 2023
1 parent 672d2d7 commit bfb5f4e
Show file tree
Hide file tree
Showing 38 changed files with 966,840 additions and 0 deletions.
14,104 changes: 14,104 additions & 0 deletions lion/benchmarks/insertion-sort-il9.btor2

Large diffs are not rendered by default.

Binary file added lion/benchmarks/insertion-sort.m
Binary file not shown.
30,469 changes: 30,469 additions & 0 deletions lion/benchmarks/microbenchmark-il0.btor2

Large diffs are not rendered by default.

30,469 changes: 30,469 additions & 0 deletions lion/benchmarks/microbenchmark-il1.btor2

Large diffs are not rendered by default.

30,469 changes: 30,469 additions & 0 deletions lion/benchmarks/microbenchmark-il2.btor2

Large diffs are not rendered by default.

30,469 changes: 30,469 additions & 0 deletions lion/benchmarks/microbenchmark-il3.btor2

Large diffs are not rendered by default.

30,469 changes: 30,469 additions & 0 deletions lion/benchmarks/microbenchmark-il4.btor2

Large diffs are not rendered by default.

30,469 changes: 30,469 additions & 0 deletions lion/benchmarks/microbenchmark-il5.btor2

Large diffs are not rendered by default.

30,469 changes: 30,469 additions & 0 deletions lion/benchmarks/microbenchmark-il6.btor2

Large diffs are not rendered by default.

30,469 changes: 30,469 additions & 0 deletions lion/benchmarks/microbenchmark-il7.btor2

Large diffs are not rendered by default.

30,469 changes: 30,469 additions & 0 deletions lion/benchmarks/microbenchmark-il8.btor2

Large diffs are not rendered by default.

Binary file added lion/benchmarks/microbenchmark.m
Binary file not shown.
44 changes: 44 additions & 0 deletions lion/benchmarks/produce-btor2-files.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#!/bin/bash

selfie -c ../../tools/cstar-lib.c tiny-program-good-performance.c -o tiny-program-good-performance.m

selfie -c ../../tools/cstar-lib.c tiny-program-bad-performance.c -o tiny-program-bad-performance.m

selfie -c insertion-sort.c -o insertion-sort.m

selfie -c ../../tools/cstar-lib.c reservoir-sampling.c -o reservoir-sampling.m

selfie -c ../../tools/cstar-lib.c reservoir-sampling-constant-workload.c -o reservoir-sampling-constant-workload.m

time (gtimeout --foreground -v 35m ../../target/release/unicorn beator tiny-program-good-performance.m --unroll 0 --solver z3 --input-limit 2 -t 200000 --one-query -v error --out tiny-program-good-performance-il2.btor2)

time (gtimeout --foreground -v 35m ../../target/release/unicorn beator tiny-program-bad-performance.m --unroll 0 --solver z3 --input-limit 2 -t 200000 --one-query -v error --out tiny-program-good-performance-il2.btor2)

i=0

while [ $i -le 8 ]
do
echo "microbenchmark z3 input-limit $i"
time (gtimeout --foreground -v 35m ../../target/release/unicorn beator microbenchmark.m --unroll 0 --solver z3 --input-limit $i -t 200000 --one-query -v error --out microbenchmark-il${i}.btor2)
((i += 1))
done

time (gtimeout --foreground -v 35m ../../target/release/unicorn beator insertion-sort.m --unroll 0 --solver z3 --input-limit 2 -t 200000 --one-query -v error --out insertion-sort-il${i}.btor2)

i=0

while [ $i -le 8 ]
do
echo "reservoir-sampling z3 input-limit $i"
time (gtimeout --foreground -v 35m ../../target/release/unicorn beator reservoir-sampling.m --unroll 0 --solver z3 --input-limit $i -t 200000 --one-query -v error --out reservoir-sampling-il${i}.btor2)
((i += 1))
done

i=0

while [ $i -le 8 ]
do
echo "reservoir-sampling-constant-workload z3 input-limit $i"
time (gtimeout --foreground -v 35m ../../target/release/unicorn beator reservoir-sampling-constant-workload.m --unroll 0 --solver z3 --input-limit $i -t 200000 --one-query -v error --out reservoir-sampling-constant-workload-il${i}.btor2)
((i += 1))
done
Loading

0 comments on commit bfb5f4e

Please sign in to comment.