Skip to content

perf(mail): re-indexing after a large rules change - #73

Merged
leemour merged 1 commit into
mainfrom
perf/mail-indexing
Oct 15, 2026
Merged

leemour merged 1 commit into
mainfrom
perf/mail-indexing

Conversation

@leemour

@leemour leemour commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Why the scheduled memo sync held the import lock for hours after 44,011 emails were cut to envelopes (PERF-42), measured on a store copy: the index drain deleted vectors by hash alone, scanning all 28,342 vectors per hash. Whole queue (13,157 threads): 896 s before, 3.4 s after cli-core#1259. Totals only; run.sh repeats it.

🤖 Generated with Claude Code

…to repeat

Why the scheduled memo sync held the import lock for hours after 44,011 emails were cut to
envelopes (PERF-42): the index drain deleted vectors by hash alone and scanned the whole vector
table per hash. Totals before and after cli-core#1259, and run.sh to repeat it on a store copy.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@leemour
leemour merged commit ca52c5b into main Oct 15, 2026
1 check passed
@leemour
leemour deleted the perf/mail-indexing branch October 15, 2026 01:01
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