Why it is slower to get query result from z3 java API then get from z3 directly? -
just noticed benchmarks, slow query result z3 via java api. however, if dumped query smt2 format, , run z3 in command line directly, takes less second. wonder why?
i noticed problem contains (push)
command, removing changes performance dramatically. when z3 first sees (push)
, switches different solver supports incrementality , can have dramatic impact on performance. setting verbosity 15 via -v:15, first line of z3s output tells solver using, e.g., when push
command present says
(combined-solver "using solver 2 (without timeout)")
and when not, says
(combined-solver "using solver 1")
for given example, solver 2 happens faster.
Comments
Post a Comment