-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Significant slowdown from 4.8.5 to 4.8.6 #4178
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
Comments
I can reproduce the performance regression on an x64 Ubuntu 18.04 machine. To elaborate a bit, in this scenario, z3 runs in less than a second:
In this case, z3 runs for several minutes:
I will note that I also can reproduce the performance regression when building z3 from source on an x64 Ubuntu 18.04 machine, but on the I bisected the performance regression, building z3 from source, between the
|
A reduced version of the original
|
It inspires some tuning. Currently: (ast-table :prev-capacity 40960 :capacity 5120 :size 2189) |
The equality solver could also be tuned (or as a workaround turned off) |
Thanks, at this point I have added some tuning to also the equality solver. |
@NikolajBjorner Thanks a lot for looking into this. |
Here are timings for the attached prob.txt using z3 4.8.5 and 4.8.6. Note the slowdown: less than 1 second to almost 7 minutes.
These experiments were performed on an Ubuntu 18.04.4 machine. z3 was installed using the PyPi package.
prob.txt is pasted here for convenience:
The text was updated successfully, but these errors were encountered: