Skip to content

Add a corpus-seeding example for search-latency investigations - #2528

Merged
mstomar125 merged 1 commit into
mainfrom
issue-2455-seed-corpus-tool
Sep 9, 2026
Merged

mstomar125 merged 1 commit into
mainfrom
issue-2455-seed-corpus-tool

Conversation

@mstomar125

Copy link
Copy Markdown
Contributor

Summary

A small reusable tool extracted from investigating the semantic-search perf issue (#2455 — resolved with a documented negative result, no code fix needed there; this is just landing the tooling it produced).

Seeds a SqliteStore directly with synthetic 768-dim embeddings, matching search_result_scaling_test.rs's own in-process methodology, so a corpus built here is a controlled baseline against that prior flat in-process benchmark. Pointing a real daemon at the resulting database and searching it over gRPC isolates what an in-process benchmark can't exercise: real transport latency and a real (blocking) generate_embedding() call on the query text, rather than a stubbed or synchronous path.

Test plan

Seeds a SqliteStore directly with synthetic 768-dim embeddings,
matching search_result_scaling_test.rs's own in-process methodology,
so a corpus built here is a controlled baseline against that prior
flat in-process benchmark. Used to investigate #2455's reported
semantic-search slope against a real gRPC daemon.
@mstomar125
mstomar125 merged commit f75a0a0 into main Sep 9, 2026
@mstomar125
mstomar125 deleted the issue-2455-seed-corpus-tool branch September 9, 2026 06:54
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