Skip to content
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

Bitwuzla is unusualy slow for FP query based on IEEE conversion #371

Open
baierd opened this issue Apr 11, 2024 · 1 comment
Open

Bitwuzla is unusualy slow for FP query based on IEEE conversion #371

baierd opened this issue Apr 11, 2024 · 1 comment

Comments

@baierd
Copy link
Collaborator

baierd commented Apr 11, 2024

Bitwuzla is very slow for the tests in FloatingPointFormulaManagerTest based on the getListOfFloats() method. We should extract examples and inform the devs of Bitwuzla about this.

@daniel-raffler
Copy link
Contributor

I've added some test in a new branch (here) to narrow down the issue. The results are somewhat inconclusive, but the problem does not appear to be with the bv to fp conversion itself. Instead the issue is that the test creates a new ProverEnvironment for each of the floating point values that is tested. If we reuse the same ProverEnvironment for all the test values the issues goes away.
On the other hand we only seem to be getting this big of a performance penalty if floating point values are used. A similar test that only uses bitvectors runs somewhat slower if each value gets its own ProverEnvironment. However, the difference is nowhere near as pronounced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants