-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regex performance regression from 4.8.12 to 4.8.13 #5693
Comments
@ahelwer - could you collect these benchmarks as SMTLIB2 (use print(s.sexpr() + "\n(check-sat)\n")) and submit them to the z3test repository? This makes it easier to catch regressions relevant to your use case. |
NikolajBjorner
pushed a commit
to Z3Prover/z3test
that referenced
this issue
Dec 9, 2021
* Added regression test for Z3Prover/z3#5693 * unsat
NikolajBjorner
added a commit
that referenced
this issue
Dec 13, 2021
NikolajBjorner
added a commit
that referenced
this issue
Dec 14, 2021
as part of revising engine for addressing #5693
it is fixed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This concerns comparing the regexes
(ab)*a(ab)*a
anda(ba)*a(ba)*
(doubled versions of(ab)*a
anda(ba)*
). 4.8.12 compares them almost instantaneously (even handling tripled versions) but on 4.8.13 and the 12/1/2021 nightly build it times out, running for up to 6 hours (discovered with a github action test runner timing out). Here is python code to reproduce:The text was updated successfully, but these errors were encountered: