docs: add Vamana benchmark comparison - #92
Merged
Merged
Conversation
Deploying xvec with
|
| Latest commit: |
57a54b9
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://d0deacfc.xvec.pages.dev |
| Branch Preview URL: | https://benchmark-vamana.xvec.pages.dev |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #92 +/- ##
==========================================
- Coverage 81.36% 81.35% -0.01%
==========================================
Files 150 150
Lines 30534 30534
==========================================
- Hits 24843 24842 -1
- Misses 5689 5690 +1
Partials 2 2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add the missing Vamana comparison after #91: eight full Cohere 100K × 768D runs covering xvec and zvec with FP32, FP16, INT8, and INT4. Publish the measurements in
docs/benchmark-vamana.csvand expose Vamana in the Index selector, charts, and SVG export. HNSW remains the default, and existing benchmark CSVs and export URLs are preserved.Both backends use degree 64, construction list 100, alpha 1.2, max occlusion 750, search list 200, and no saturation, two-pass build, contiguous-memory mode, ID map, or refinement. INT4/INT8 enable rotation, confirmed through zvec's native getter. Runs use fresh collections on e2-standard-8, K=100, 1,000 serial queries, 30 seconds at concurrency 8, and a 3-second cooldown. All Vamana settings are recorded and validated as comparison-group keys.
Values below are xvec / zvec. These are single runs at matching parameters, not matched recall. Peak RSS covers the entire process, including loading, optimization, reopening, and queries.
Measured xvec revision:
6a8b120d4284bf16853b2b4ad18465c599e72d82(merged #91). zvec uses the existing localv0.7.0+rotatebinding and native library from8321c1314a559fd5f909e92498f43e5194bf9b99. Go 1.27.1, CGO disabled, GOMAXPROCS=8, GOMEMLIMIT=24GiB, CPU affinity 0–7. The README includes configuration, provenance, reproduction instructions, and measurement limits.Validation: all eight small smoke runs and eight full benchmark runs passed; native Vamana rotation getter verified;
pnpm --dir docs test(21 tests),check(zero diagnostics), andbuildpassed. Playwright verified the default HNSW view, all four index selections, six charts per view, Vamana data, distinct working SVG exports, and no browser errors. Build retains the existing large-bundle warning.