Skip to content

[SVS] Benchmark vectors add during training#910

Merged
rfsaliev merged 2 commits intomainfrom
rfsaliev/svs-bench-async-add
Feb 18, 2026
Merged

[SVS] Benchmark vectors add during training#910
rfsaliev merged 2 commits intomainfrom
rfsaliev/svs-bench-async-add

Conversation

@rfsaliev
Copy link
Collaborator

@rfsaliev rfsaliev commented Feb 18, 2026

Added benchmark for updating Tiered SVS Index in parallel with training job

This PR contains simple benchmark to measure Tiered SVS Index updates executed in parallel with background SVS training.

Which issues this PR fixes

  1. #...
  2. MOD...

Main objects this PR modified

  1. BM VecSim SVS
  2. ...

Mark if applicable

  • This PR introduces API changes
  • This PR introduces serialization changes

Note

Low Risk
Benchmark-only change that adds a new test scenario and does not affect production SVS/index behavior; main risk is increased/variable benchmark runtime or flakiness due to thread scheduling.

Overview
Adds a new SVS tiered-index benchmark that measures AddVector performance while the backend is actively training.

Introduces BM_AddVectorsDuringTraining, which fills to a configurable training threshold, starts the async thread pool, then continuously adds more vectors during the training job (using real-time measurement and configurable thread counts), while avoiding tiered updates via an intentionally high update threshold.

Written by Cursor Bugbot for commit ccb4b28. This will update automatically on new commits. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

@codecov
Copy link

codecov bot commented Feb 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.12%. Comparing base (8819850) to head (ccb4b28).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #910      +/-   ##
==========================================
+ Coverage   97.09%   97.12%   +0.02%     
==========================================
  Files         129      129              
  Lines        7500     7500              
==========================================
+ Hits         7282     7284       +2     
+ Misses        218      216       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rfsaliev rfsaliev enabled auto-merge February 18, 2026 11:35
@rfsaliev rfsaliev added this pull request to the merge queue Feb 18, 2026
Merged via the queue into main with commit d5f91a8 Feb 18, 2026
23 checks passed
@rfsaliev rfsaliev deleted the rfsaliev/svs-bench-async-add branch February 18, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments