perf: persist model-isolated sqlite-vec indexes and index new notes incrementally

This commit is contained in:
2026-09-06 16:34:26 +08:00
parent 3b9490e3fb
commit b03b168920
12 changed files with 295 additions and 48 deletions
@@ -0,0 +1,29 @@
{
"blocks": 4000,
"dimensions": 384,
"top_k": 20,
"migration_ms": 1329.5076999929734,
"same_top_k": true,
"measurements": {
"python_json_scan": {
"median_ms": 1289.638800022658,
"samples_ms": [
1289.638800022658,
1238.6701999930665,
1115.6752999813762,
1436.7559000093024,
1833.9683999947738
]
},
"sqlite_vec": {
"median_ms": 19.673499977216125,
"samples_ms": [
29.709700000239536,
17.876600002637133,
35.13619999284856,
19.673499977216125,
18.28439999371767
]
}
}
}