You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-36Lines changed: 1 addition & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1208,42 +1208,7 @@ const results = search(
1208
1208
1209
1209
This avoids rebuilding the index (~5-20ms) on every keystroke.
1210
1210
1211
-
### Web Worker Offloading (Browser)
1212
-
1213
-
For browser apps, you can run the entire search pipeline off the main thread using the built-in Web Worker support. This keeps the UI responsive even during heavy queries.
- When `Worker` is available and `workerUrl` is provided, data loading and search execution happen entirely inside a dedicated Web Worker thread.
1244
-
- If Worker creation fails (e.g. CSP restrictions) or the browser doesn't support Workers, the factory falls back to running search on the main thread using the provided `fallbackDeps`.
1245
-
- The Worker maintains its own internal `LRUCache`, so repeated queries are fast without any extra setup.
1246
-
- Use `supportsWorkers()` to check availability before constructing the client if you want explicit control.
1211
+
For benchmarking, memory profiling, worker offloading, and runnable benchmark scripts, see the [Performance Guide](docs/performance.md).
0 commit comments