Skip to content

Commit 120a5f3

Browse files
author
zho
committed
fixed path and comment
1 parent dc671df commit 120a5f3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

benchmarks/latency.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ type BenchmarkResult = {
3434
iterations: number;
3535
};
3636

37-
/** Test double: stub ensureIndexes, searchIndex, rerankResults (no network). */
37+
/** Test double: stub ensureIndexes and searchIndex (no network). rerankResults on the instance is ineffective post-restructure — query() reranks via rerankResultsImpl(indexSession.ensureClient(), …) instead. */
3838
type QueryBenchClient = {
3939
ensureIndexes: () => Promise<{ denseIndex: SearchableIndex; sparseIndex: SearchableIndex }>;
4040
searchIndex: (

benchmarks/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
"rootDir": ".."
66
},
77
"include": ["./**/*.ts", "../src/**/*.ts"],
8-
"exclude": ["../node_modules", "../dist", "../**/*.test.ts", "../src/server/tools/test-helpers.ts"]
8+
"exclude": ["../node_modules", "../dist", "../**/*.test.ts", "../src/core/server/tools/test-helpers.ts"]
99
}

0 commit comments

Comments
 (0)