Skip to content

Local, full Windows search replacement, clipboard manager, and launcher: files, apps, settings and semantic media search with Google's EmbeddingGemma 2.

18.2 KB
Raw Blame

Performance measurements — v0.2.22

Measured on October 11, 2026, on Windows 11 with a WD_BLACK SN850X NVMe drive. These are development measurements, not a speed guarantee.

What was tested

  • Isolated encrypted and unencrypted copies of the same existing catalog: 988,658 files (985,149 Quick, 3,509 Full), plus 133,700 folders and 34,678 768-dimensional vectors. The encrypted database was about 1.92 GiB. Original sources and settings were preserved.
  • Three performance profiles, each with encryption on and off. Search modes: Names, Semantic, and Both. Queries cover short prefixes, broad/exact names, photos, screenshots, documents and audio.
  • The same already-loaded local EmbeddingGemma 2 server was used throughout. Timings include query embedding where applicable. Model startup/loading is excluded.
  • Windows file caches were not flushed; these are not cold-boot disk benchmarks. “First” means application result/query/vector caches were cleared. “Warm retrieval” is the median of three fresh retrievals/query embeddings with the vector cache retained. “Repeat” is the median of three cached searches.
  • Backend timings exclude GUI work. UI timings separately include debounce, retrieval, result cards and selected preview. RAM figures are process RSS, excluding the separate model/server and parser workers.

Profiles and limits

Profile Database pages per search connection Total compact vector cache Typing delay
Low memory 8 MiB None; streamed 150 ms
Balanced (default) 32 MiB Up to 128 MiB 75 ms
Fast search 64 MiB Up to 512 MiB 35 ms

Limits are caps, not reserved memory. The filename catalog and database remain on disk. Vector caches store float32 vectors, IDs and compact path/kind/channel metadata, not document text or the million-file filename catalog. Matrices exceeding the selected budget stream from disk. Result caching is limited to 32 queries / 4 MiB. Indexing uses the same small database caches across all profiles.

Backend search: every profile and encryption setting

All times below are milliseconds. Query labels: short prefix = f; broad name / combined = forza; exact name = forzahorizon6.exe; photo meaning / combined = images of dogs; screenshot meaning = server room; document words / combined = invoice; audio meaning = where they talk about sleep. These measure retrieval latency, not an audited relevance score.

Encryption Profile Mode / query First Warm retrieval Repeat
On Low memory Names: short prefix 10.6 8.4 0.5
On Low memory Names: broad name 13.9 13.6 0.5
On Low memory Names: exact name 6.2 6.8 0.1
On Low memory Semantic: photo meaning 661.6 379.7 0.4
On Low memory Semantic: screenshot meaning 628.4 605.0 1.3
On Low memory Semantic: document words 552.9 558.2 0.9
On Low memory Semantic: audio meaning 392.1 338.4 0.5
On Low memory Both: broad combined 585.4 565.1 0.8
On Low memory Both: photo combined 365.3 372.8 0.6
On Low memory Both: document combined 573.0 545.6 1.1
On Balanced Names: short prefix 10.3 9.0 0.5
On Balanced Names: broad name 13.8 14.0 0.5
On Balanced Names: exact name 6.0 6.4 0.0
On Balanced Semantic: photo meaning 483.7 83.0 0.3
On Balanced Semantic: screenshot meaning 586.0 238.3 1.2
On Balanced Semantic: document words 531.3 182.1 1.1
On Balanced Semantic: audio meaning 411.2 64.1 0.6
On Balanced Both: broad combined 570.6 194.5 0.9
On Balanced Both: photo combined 462.3 81.3 0.4
On Balanced Both: document combined 543.2 191.6 1.1
On Fast search Names: short prefix 9.9 8.4 0.5
On Fast search Names: broad name 13.5 13.2 0.4
On Fast search Names: exact name 6.0 6.1 0.0
On Fast search Semantic: photo meaning 478.4 95.8 0.4
On Fast search Semantic: screenshot meaning 637.3 230.7 1.3
On Fast search Semantic: document words 566.3 194.5 1.0
On Fast search Semantic: audio meaning 416.9 41.3 0.5
On Fast search Both: broad combined 557.1 194.2 0.8
On Fast search Both: photo combined 460.6 96.7 0.3
On Fast search Both: document combined 572.7 184.9 1.0
Off Low memory Names: short prefix 8.8 7.5 0.5
Off Low memory Names: broad name 10.9 10.5 0.5
Off Low memory Names: exact name 3.1 3.0 0.0
Off Low memory Semantic: photo meaning 165.3 152.7 0.3
Off Low memory Semantic: screenshot meaning 334.5 324.7 1.3
Off Low memory Semantic: document words 282.8 316.6 1.0
Off Low memory Semantic: audio meaning 147.1 128.2 0.5
Off Low memory Both: broad combined 287.0 322.3 0.8
Off Low memory Both: photo combined 160.8 154.6 0.4
Off Low memory Both: document combined 312.9 286.4 1.0
Off Balanced Names: short prefix 8.7 7.4 0.5
Off Balanced Names: broad name 11.0 10.2 0.5
Off Balanced Names: exact name 2.8 2.8 0.0
Off Balanced Semantic: photo meaning 261.3 71.6 0.4
Off Balanced Semantic: screenshot meaning 356.8 189.4 1.3
Off Balanced Semantic: document words 306.3 156.0 1.0
Off Balanced Semantic: audio meaning 198.9 45.1 0.6
Off Balanced Both: broad combined 329.5 165.3 0.7
Off Balanced Both: photo combined 259.8 71.3 0.3
Off Balanced Both: document combined 319.5 148.9 1.1
Off Fast search Names: short prefix 8.4 7.0 0.5
Off Fast search Names: broad name 12.0 10.7 0.5
Off Fast search Names: exact name 2.8 2.6 0.0
Off Fast search Semantic: photo meaning 258.7 69.8 0.6
Off Fast search Semantic: screenshot meaning 358.6 186.0 1.2
Off Fast search Semantic: document words 333.5 156.7 1.2
Off Fast search Semantic: audio meaning 222.8 47.7 0.5
Off Fast search Both: broad combined 333.8 142.4 0.7
Off Fast search Both: photo combined 250.6 75.7 0.3
Off Fast search Both: document combined 327.3 139.5 1.0
Encryption Profile Peak backend RAM Retained vector cache
On Low memory 103.1 MiB 0.0 MiB
On Balanced 231.2 MiB 103.1 MiB
On Fast search 267.3 MiB 103.1 MiB
Off Low memory 103.4 MiB 0.0 MiB
Off Balanced 230.8 MiB 103.1 MiB
Off Fast search 266.8 MiB 103.1 MiB

Balanced fits this catalog’s approximately 103 MiB compact vector cache. Fast search therefore does not deliver a consistently faster backend here; it mainly offers a larger limit for larger semantic catalogs and a shorter typing delay. Encryption has a larger effect in Low memory mode because it repeatedly reads/decrypts vector pages.

Main app and popup: typed query to visible results

One measured first display per case and one repeated display per view/configuration; these are single UI observations rather than percentile statistics. Images may need disk decoding on their first preview, so first-display variation can be larger than backend variation. Repeats retain existing result cards. All values include the configured typing delay.

Encryption Profile View Names forza Semantic images of dogs Both invoice Repeat range Peak full-app RAM
On Low memory Main 290.9 ms 669.3 ms 831.8 ms 3.0–8.9 ms 227.2 MiB
On Low memory Popup 296.6 ms 617.0 ms 844.5 ms 4.7–6.1 ms 227.2 MiB
On Balanced Main 221.6 ms 268.7 ms 406.9 ms 3.7–7.1 ms 336.0 MiB
On Balanced Popup 229.1 ms 254.7 ms 395.0 ms 4.1–8.1 ms 336.0 MiB
On Fast search Main 193.9 ms 234.1 ms 344.3 ms 4.1–7.8 ms 331.2 MiB
On Fast search Popup 206.8 ms 232.3 ms 335.7 ms 4.2–6.0 ms 331.2 MiB
Off Low memory Main 297.3 ms 1070.1 ms 604.8 ms 4.5–7.0 ms 227.6 MiB
Off Low memory Popup 315.8 ms 389.8 ms 575.6 ms 4.0–6.9 ms 227.6 MiB
Off Balanced Main 215.3 ms 929.1 ms 393.9 ms 2.9–4.5 ms 349.6 MiB
Off Balanced Popup 222.7 ms 212.5 ms 339.2 ms 3.6–8.2 ms 349.6 MiB
Off Fast search Main 188.6 ms 908.4 ms 342.5 ms 4.9–7.4 ms 343.1 MiB
Off Fast search Popup 191.1 ms 186.0 ms 321.3 ms 4.5–6.9 ms 343.1 MiB

Mixed Quick / Full indexing

Generated directory entries exercise catalog enumeration/planning and database updates on the same NVMe. Each run contains 100,000 Quick entries plus 3,500 real text fixtures in a nested Full source. The update changes 343 Quick entries and deletes one Full file. A separate run uses 1,000,000 Quick entries. Text extraction is included; model inference, real drive traversal, expensive media parsers and GUI memory are excluded. This specifically checks the mixed-source retained-file query that previously stalled.

Encryption Profile Quick entries Initial index Update Peak backend RAM
On Low memory 100,000 12.3 s 4.17 s 130.3 MiB
On Balanced 100,000 12.22 s 4.19 s 129.8 MiB
On Fast search 100,000 12.23 s 4.27 s 129.4 MiB
Off Low memory 100,000 11.38 s 3.06 s 128.4 MiB
Off Balanced 100,000 11.11 s 3.05 s 129.3 MiB
Off Fast search 100,000 11.54 s 3.08 s 128.9 MiB
On Balanced 1,000,000 65.49 s 38.29 s 132.1 MiB

All completed updates report 343 indexed files, reuse the remaining unchanged files, remove the deleted document, and retain 3,499 Full text segments. Source counts include nested sources; recent additions count newly discovered paths rather than modifications. Old indexes have no historical addition timestamps, so their per-source activity begins with the next successful update.

What changed

  • Retained Full-file validation now uses indexed path lookups across mixed Quick/Full catalogs, with cancellation checks. The previous missing path index could turn this phase into repeated million-row scans.
  • Compiled source/exclusion rules replace repeated path construction and rule normalization per search candidate.
  • Name search has an indexed prefix lane and a bounded substring candidate pool. One/two-character queries use filename prefixes; longer queries also match substrings. Broad queries retrieve bounded candidates rather than materializing every match.
  • Semantic search can use explicitly bounded compact vector caching, with a streaming fallback. Quick-only updates retain valid vector caches.
  • Only the visible search window builds result cards/previews. Repeated identical results reuse their cards. A small result cache invalidates when settings or the index change.

A larger or colder index, slower model/hardware, deep source enumeration, antivirus activity or complex files can take longer. Encryption off is a performance option with a privacy cost, not a requirement for fast search. Disabling it makes stored filenames, text and vectors readable to anyone with access to the database.

Launcher idle work

The launcher now caches native window clipping by geometry instead of reapplying the region during every paint. Its idle refresh interval is 250 ms; microphone recording refreshes at 33 ms and AI activity keeps its animated outline. Events wake the interface immediately. Automatic file counting observes the same resource checkpoints as indexing, so counting pauses when external CPU/GPU conditions are exceeded.

Windows notification suppression (“busy” or presentation mode) is not sufficient evidence of a full-screen app. Detection requires an actual visible full-screen window or the Direct3D full-screen state; ordinary maximized windows and minimized cached windows are excluded. VectorDash and its managed helpers remain excluded from CPU/GPU idle limits.

A development-PC comparison of the previous and updated 0.3.12 test builds used isolated empty indexes, the Settings page, no scheduler, and an eight-second sample after five seconds of startup. Process CPU time fell from 0.406 s to 0.047 s (about 88%); 18-second runs rendered 532 versus 83 frames. These are idle GUI measurements, not a reproduction of the user's active million-file scan or a cross-machine guarantee.

Live change notifications run targeted file/subtree updates without file counting or a whole-source walk. Metadata-only parent-directory events are ignored, and excluded paths are discarded before the bounded notification queue. Startup catch-up or lost notifications can still require recovery. Deleted-file cleanup uses indexed path and source/epoch ranges, and observes pause/cancel conditions throughout cleanup.

Hidden Windows event loop

A dedicated hide-to-tray fixture reproduced 7.922 CPU-seconds over eight seconds (about one fully occupied core), despite rendering only nine frames before hiding. This traced to eframe 0.33.3 leaving ControlFlow::Poll set after a redraw deadline was drained. A hidden Windows window does not deliver the paint event that normally returns the loop to waiting. A local dependency patch explicitly returns to Wait when no repaint deadlines remain; its provenance is documented in native/vendor/eframe/VECTORDASH-PATCH.md. Hidden GUI work also stops constructing controls/painting, and preview textures are released.

After the event-loop patch, the same tray fixture used 0.0156 CPU-seconds over eight seconds (0.195% of one core), versus 7.9219 before (~99.8% reduction). Visible idle used 0.0625 CPU-seconds. A hide/reopen test restored query focus and returned a result. These are controlled development-PC GUI measurements; enabled watchers and background work add their own activity.

NTFS journal failures and recovery

Journal readers retain their cursors after transient access, sharing or device errors. Each failed volume retries independently after 5, 10, 20, 40, 80, 160 and then at most 300 seconds; healthy volumes continue replaying. The monitor reports active readers and retrying volumes separately. Logs identify the drive, cursor, complete error chain, retry delay and successful resumption. Repeated unresolved-parent warnings are limited to once per minute per drive; recovery paths are still queued each time.

Replay explicitly requests V2 records, matching the parser. An unresolved parent (for example, a directory deleted before replay) no longer aborts the whole batch or removes the reader: resolvable changes are retained, the cursor advances, and the affected drive's configured sources enter the durable targeted queue. A confirmed expired cursor or changed journal ID similarly queues only that drive's sources. Repeated malformed batches receive bounded retries before a scoped recovery and cursor reset; Windows access/I/O errors never reset a still-valid cursor. Recovery may still enumerate a large source on that drive when the original changed path cannot be recovered. Startup catch-up is now tracked per source: adding or reconnecting a network source does not invalidate healthy local journal coverage. Nested recovery requests are merged, and completed scopes acknowledge only the generations present when the scan began.

Checkpoints preserve unavailable drives' previous durable cursors, and checkpoint failures are logged. Cursors advance durably only after successful indexing. Validation includes injected access-denied/offline/gap/malformed failures, backoff and checkpoint tests, plus live NTFS create/delete replay with a deleted parent. This does not establish that all six drives stay accessible on every system.

References: Microsoft READ_USN_JOURNAL_DATA_V1 documents version negotiation, expired cursors and journal-ID changes; OpenFileById documents resolving a current file/directory identifier.

The journal directory cache retains up to 4096 full file references with a 2 MiB estimated path/entry budget, plus a temporary checkpoint snapshot. It remembers deleted directories and updates cached descendant paths on directory moves. Discontinuous cursors invalidate the affected volume cache. Checkpoint snapshots are protected with Windows DPAPI when index encryption is enabled; cache failure only discards this optimization. NTFS volume-root metadata is filtered consistently in scanning, search and notification queues; existing stored metadata is purged through indexed path ranges without resetting an existing policy cleanup cursor.

The local notify 8.2.0 Windows patch reports asynchronous failures with their watched root and emits a scoped Rescan on zero-byte overflow. Failed watches reattach independently with capped backoff and queue catch-up on reconnection. Folder-notification gaps with no known origin must conservatively reconcile monitored sources. An unknown parent absent from the bounded cache can still require recovery of that drive's configured sources; genuine gaps are never silently ignored.

Tray activation and status icons

Tray open requests that encounter a full notification channel are retained in one shared atomic flag and consumed before normal UI notifications. Repeated requests coalesce without blocking the tray thread or creating retry threads. This fixes the reproduced case where the installed app accepted a double-click callback but stayed hidden while the hotkey still worked.

The tray uses a transparent antialiased magnifier: the saved accent color while idle, yellow only when pending/running indexing is blocked by its applicable conditions or pause, and red while indexing is active. The background scheduler publishes this state even when the main window is hidden. Native icon updates occur only when the visual changes, with at most one failed refresh attempt per second, and replaced icon handles are destroyed. Shell version-4 callbacks, keyboard activation and Explorer restart notifications are supported; only the tray callback/restart messages are allowed through its window-specific message filter.