Use compiled modules in benchmarks #6

Open
ober wants to merge 1 commit from fix-bytevector-native into main
Owner

Fixes the compiled benchmark path so it resolves built artifacts before source files, and routes gerbil-compat bytevector helpers through Gerbil's native u8vector primitives.\n\nKey benchmark result at N=1000 via make bench-compiled / make bench-prepared-compiled:\n- regular total: 671.2 ms vs SQLite 260.7 ms = 2.6x slower\n- prepared total: 84.1 ms vs SQLite 6.3 ms = 13.3x slower\n\nThis replaces the previous source-first benchmark behavior that measured roughly 12x/80x slowdowns.\n\nVerification:\n- gxc -S gerbil-compat/bytevector.ss\n- gxtest gerbil-compat/tests/compat-test.ss\n- make clean && N=1000 make bench-compiled && N=1000 make bench-prepared-compiled\n- make binary\n- make smoke

Fixes the compiled benchmark path so it resolves built artifacts before source files, and routes gerbil-compat bytevector helpers through Gerbil's native u8vector primitives.\n\nKey benchmark result at N=1000 via make bench-compiled / make bench-prepared-compiled:\n- regular total: 671.2 ms vs SQLite 260.7 ms = 2.6x slower\n- prepared total: 84.1 ms vs SQLite 6.3 ms = 13.3x slower\n\nThis replaces the previous source-first benchmark behavior that measured roughly 12x/80x slowdowns.\n\nVerification:\n- gxc -S gerbil-compat/bytevector.ss\n- gxtest gerbil-compat/tests/compat-test.ss\n- make clean && N=1000 make bench-compiled && N=1000 make bench-prepared-compiled\n- make binary\n- make smoke
Use compiled modules in benchmarks
All checks were successful
ci / test (push) Successful in 4s
ci / test (pull_request) Successful in 4s
dd828fd884
ober force-pushed fix-bytevector-native from dd828fd884
All checks were successful
ci / test (push) Successful in 4s
ci / test (pull_request) Successful in 4s
to f5c4e0fc50
All checks were successful
ci / test (push) Successful in 3s
ci / test (pull_request) Successful in 4s
2026-08-11 20:49:24 -04:00
Compare
All checks were successful
ci / test (push) Successful in 3s
ci / test (pull_request) Successful in 4s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix-bytevector-native:fix-bytevector-native
git switch fix-bytevector-native

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff fix-bytevector-native
git switch fix-bytevector-native
git rebase main
git switch main
git merge --ff-only fix-bytevector-native
git switch fix-bytevector-native
git rebase main
git switch main
git merge --no-ff fix-bytevector-native
git switch main
git merge --squash fix-bytevector-native
git switch main
git merge --ff-only fix-bytevector-native
git switch main
git merge fix-bytevector-native
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ober/gerbil-sqlite!6
No description provided.