3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-04-24 04:43:31 +00:00

Add std::optional vs custom optional performance benchmark (#8160)

* Initial plan

* Complete optional benchmark implementation

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

* Add comprehensive benchmark results documentation

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

* Address code review feedback - improve benchmark portability and remove redundant volatile

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

* Final refinement: fix inline assembly constraint for const reference

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

* Delete OPTIONAL_BENCHMARK_RESULTS.md

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
Co-authored-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Copilot 2026-01-11 14:30:45 -08:00 committed by GitHub
parent 5aac5c98b3
commit 5cf59ea5e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 394 additions and 0 deletions

View file

@ -98,6 +98,7 @@ add_executable(test-z3
object_allocator.cpp
old_interval.cpp
optional.cpp
optional_benchmark.cpp
parray.cpp
pb2bv.cpp
pdd.cpp