perf: audit EmbeddingGemma 2 and reuse measured query embeddings
Core CI / core (ubuntu-latest) (push) Failing after 3m43s
Core CI / core (macos-latest) (push) Canceled after 0s
Core CI / core (windows-latest) (push) Canceled after 0s
Core CI / desktop (ubuntu-latest) (push) Successful in 5m56s
Core CI / desktop (macos-latest) (push) Canceled after 0s
Core CI / desktop (windows-latest) (push) Canceled after 0s

This commit is contained in:
karl committed 2026-10-12 20:59:10 +02:00
1 parent 9870df7cb5
commit 8b9b079469
21 files changed
+4119 -129

No files matched your search

+7 -4
View File
@@ -306,10 +306,13 @@ try {
{ timeout: 60000 },
);
await screenshot("media-search", imageQuery);
await page.locator("#settings summary").click();
await page.locator("#settings > summary").click();
await page.locator("#performance-toggle").check();
await page.locator("#settings summary").click();
await query(documentQuery, true);
await page.locator("#settings > summary").click();
// Use a genuinely unseen query so this screenshot records real inference,
// rather than attributing a bounded query-vector cache hit to the worker.
const performanceQuery = "how can we cancel the supplier partnership";
await query(performanceQuery, true);
await page.locator("#performance-panel").waitFor({ state: "visible" });
await page.locator("#performance-panel summary").click();
await page.waitForFunction(
@@ -332,7 +335,7 @@ try {
.filter({ hasText: "worker inference" })
.first()
.scrollIntoViewIfNeeded();
await screenshot("performance-details", documentQuery);
await screenshot("performance-details", performanceQuery);
const semanticResponse = await context.request.post(
new URL("/capture-api/semantic_status", target).href,
{