Skip to content

Add new JMH benchmarks for FusedPQ and graph index queries#650

Open
r-devulap wants to merge 2 commits intomainfrom
new-jmh-benchmarks
Open

Add new JMH benchmarks for FusedPQ and graph index queries#650
r-devulap wants to merge 2 commits intomainfrom
new-jmh-benchmarks

Conversation

@r-devulap
Copy link
Copy Markdown

This PR adds two new JMH benchmark classes to evaluate vector‑search performance across both fused PQ based indices and in‑memory graph indices. These benchmarks were useful when combined with async‑profiler, helping narrow down performance hotspots and guide further optimizations.

Included Benchmarks:

FusedPQQueryBenchmark – Builds a fused PQ disk index and measures query performance across configurable dimensions, PQ parameters, and search settings.

QueryTimeBenchmark – Benchmarks per‑query latency on an in‑memory graph index (optionally PQ‑compressed), supporting multiple dimensions and search configurations.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

Before you submit for review:

  • Does your PR follow guidelines from CONTRIBUTIONS.md?
  • Did you summarize what this PR does clearly and concisely?
  • Did you include performance data for changes which may be performance impacting?
  • Did you include useful docs for any user-facing changes or features?
  • Did you include useful javadocs for developer oriented changes, explaining new concepts or key changes?
  • Did you trigger and review regression testing results against the base branch via Run Bench Main?
  • Did you adhere to the code formatting guidelines (TBD)
  • Did you group your changes for easy review, providing meaningful descriptions for each commit?
  • Did you ensure that all files contain the correct copyright header?

If you did not complete any of these, then please explain below.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant