Skip to content

Commit 7019520

Browse files
authored
reduces the default timeout back to 16 ms (#1211)
It looks like that setting it to high makes the symbolic executor very slow, as instead of discarding overly big formulas we spend more time on solving it, rather than exploring other states. It is probably, why our tests on symbolic executor are failing, though can't say for sure, it is hard to bisect this issue, given that z3 timing is significantly non-deterministic.
1 parent e4914cf commit 7019520

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

plugins/primus_symbolic_executor/primus_symbolic_executor_main.ml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ let cutoff = Extension.Configuration.parameter
1111
~doc:"The number of times the same branch is retried."
1212

1313
let timeout = Extension.Configuration.parameter
14-
Extension.Type.(int =? 1000)
14+
Extension.Type.(int =? 16)
1515
"timeout"
1616
~doc:"The number of milliseconds alloted to the SMT solver to find
1717
a model"
@@ -166,9 +166,10 @@ end = struct
166166

167167
let () = Z3.set_global_param "parallel.enable" "true"
168168

169+
169170
let ctxt = Z3.mk_context [
170171
"model", "true";
171-
"timeout", "1000";
172+
"timeout", "16";
172173
]
173174

174175
let set_timeout ms =

0 commit comments

Comments
 (0)