Remove diskann-providers benchmarks and its criterion/iai-callgrind dev-deps#1220
Merged
harsha-simhadri merged 1 commit intoJul 2, 2026
Merged
Conversation
…ev-deps Deletes the entire diskann-providers/benches/ directory (both the criterion harness bench_main and the iai-callgrind harness bench_main_iai) and drops the criterion and iai-callgrind dev-dependencies plus the two [[bench]] sections from diskann-providers/Cargo.toml. criterion and iai-callgrind remain workspace dependencies since diskann-disk, diskann-vector, and diskann-label-filter still use them. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR cleans up the diskann-providers crate by removing its local micro-benchmark harnesses and dropping the benchmark-only dev-dependencies, while keeping criterion/iai-callgrind available at the workspace level for other crates that still use them.
Changes:
- Removed
criterionandiai-callgrindfromdiskann-providersdev-dependencies and deleted the[[bench]]targets fromdiskann-providers/Cargo.toml. - Deleted the entire
diskann-providers/benches/directory (criterion + iai-callgrind harnesses). - Updated
Cargo.lockto reflect the removed crate-level dependency edges.
Reviewed changes
Copilot reviewed 11 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| diskann-providers/Cargo.toml | Removes benchmark dev-deps and bench target entries from diskann-providers. |
| diskann-providers/benches/bench_main.rs | Deletes the criterion benchmark harness entrypoint. |
| diskann-providers/benches/bench_main_iai.rs | Deletes the iai-callgrind benchmark harness entrypoint. |
| diskann-providers/benches/benchmarks/mod.rs | Deletes the criterion benchmarks module wiring. |
| diskann-providers/benches/benchmarks/compute_pq_bench.rs | Deletes criterion PQ computation benchmark. |
| diskann-providers/benches/benchmarks/diskann_bench.rs | Deletes criterion DiskANN async insert benchmark. |
| diskann-providers/benches/benchmarks/neighbor_bench.rs | Deletes criterion NeighborPriorityQueue benchmarks. |
| diskann-providers/benches/benchmarks_iai/mod.rs | Deletes the iai-callgrind benchmarks module wiring. |
| diskann-providers/benches/benchmarks_iai/compute_pq_iai.rs | Deletes iai-callgrind PQ computation benchmark. |
| diskann-providers/benches/benchmarks_iai/diskann_iai.rs | Deletes iai-callgrind DiskANN async insert benchmark. |
| diskann-providers/benches/benchmarks_iai/neighbor_bench_iai.rs | Deletes iai-callgrind NeighborPriorityQueue benchmarks. |
| Cargo.lock | Removes criterion / iai-callgrind from diskann-providers’ locked dependency list. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1220 +/- ##
=======================================
Coverage 89.64% 89.64%
=======================================
Files 503 503
Lines 95695 95695
=======================================
Hits 85787 85787
Misses 9908 9908
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
hildebrandmw
approved these changes
Jul 1, 2026
JordanMaples
approved these changes
Jul 2, 2026
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.
Summary
Removes the entire
diskann-providers/benches/directory and drops thecriterionandiai-callgrinddev-dependencies from thediskann-providerscrate.Changes
diskann-providers/benches/(both harnesses):bench_main.rs+benches/benchmarks/(compute_pq, diskann, neighbor)bench_main_iai.rs+benches/benchmarks_iai/criterionandiai-callgrinddev-dependencies and the two[[bench]]sections fromdiskann-providers/Cargo.toml.Cargo.lock(drops these two fromdiskann-providers's dependency list only).Notes
criterionandiai-callgrindremain workspace dependencies;diskann-disk,diskann-vector, anddiskann-label-filterstill use them.virtual_storagefeature is retained (used by CI,diskann-disk,diskann-tools, andsrc/storage).Validation
cargo build -p diskann-providers --features virtual_storage— success.cargo clippy --workspace --all-targets -- -D warnings— clean across all crates.