Docs

Measurements

What each measurement number means, how to rerun it, its limits, and the 0.3.4 baseline.

wigolo keeps a set of measurement scripts, called the referee, in benchmarks/referee/. They measure one wigolo build: how its searches and fetches turn out on fixed sets of queries and pages, how much it downloads, how much memory it uses, and how large its replies are. They compare wigolo only with its own earlier versions.

This page says what each number means, how it is measured, how to rerun it, and what it cannot tell you. The numbers recorded for the published 0.3.4 are listed with each measurement.

Before you run anything

You need Node 22 or later and a clone of the repository:

npm ci
npm run build

By default the referee measures your local build in dist/. To measure a published version instead, install it into a temp folder and pass its dist folder with --build:

ONNXRUNTIME_NODE_INSTALL_CUDA=skip npm install --prefix /tmp/wigolo-0.3.4 wigolo@0.3.4

The install is about 755 MB. The commands below use /tmp/wigolo-0.3.4; any empty folder works.

How a run behaves:

  • Each task runs in a fresh process with its own home and data folder inside the run folder, so your earlier wigolo cache and settings are not used. The set runs (npm run referee) copy the models into the run folder from the folder WIGOLO_DATA_DIR names if it is set, otherwise from ~/.wigolo (read only), and download them once per run if neither has them. They share your normal browser engine cache.
  • Set run folders are kept, with each task's home and data folder and the run's copy of the models (about 290 MB per run). Delete a run folder when you no longer need its report.
  • referee:size, referee:runtime and referee:surface use a temp folder for everything, including models and the browser engine, and delete it at the end.
  • Each run writes report.md (readable) and report.json (for compare) to benchmarks/referee/runs/RUN_ID/. The command prints that folder on its last line.
  • A set run stopped with Ctrl-C picks up where it stopped the next time you run the same set: finished tasks are skipped.
  • The command exits 0 when every task passed, 1 otherwise, 2 on a usage error, and 130 when stopped with Ctrl-C. In a set run (npm run referee), a task passes when the wigolo process exits 0 and prints a JSON result; referee:size, referee:runtime and referee:surface decide pass or fail per step and say how in their own sections. Its outcome, such as honestFailure, comes separately from the set's scorer, so an honest failure can still be a passed task. Live sets usually exit 1, because wigolo often exits non-zero when it reports a failed fetch: the baseline fetch-docs-news run on the developer Mac passed 23 of 25.

The 0.3.4 baseline

The reports for the published wigolo@0.3.4 were recorded on 2026-11-30 and are committed in benchmarks/referee/reports/0.3.4/. That folder's README lists the exact commands and notes. Every 0.3.4 number on this page comes from those files.

FolderMachine
macos-arm64-devA developer Mac, arm64, 12 CPUs, Node 22.14.0
ci-ubuntu-x64CI ubuntu-latest, x64, 4 CPUs, Node 22.23.5
ci-macos-arm64CI macos-latest, arm64, 3 CPUs, Node 22.23.5
ci-windows-x64CI windows-latest, x64, 4 CPUs, Node 22.23.5

Read the search numbers below with this in mind: on 2026-11-30 search engines were refusing or rate-limiting most requests on every machine. Every CI search-qa question carries at least one engine warning. According to the run traces, which are not kept, nearly all results came from a single engine. The search numbers show 0.3.4 under heavy refusal, not its best case. Search reports from the developer Mac are not recorded yet, because the engines refused that connection on the day. Those reports and the missing CI Ubuntu fetch report are tracked in #790.

Timings vary with the machine, its load and the network. Compare a timing only with a timing from the same machine type. The fetch and search sets use live sites, and a site that changes or blocks automated clients can change a result between runs without any change in wigolo.

Off-topic searches

What it means. Out of 30 developer searches (library APIs, error messages, release notes, version comparisons), how many returned a result set that does not match the query. Lower is better.

How it is measured. Each search runs once, uncached (--force-refresh). The returned set is judged by wigolo's own word check on result titles, snippets and URLs. A set counts as off-topic when none of its top three results contains a word of the query, and fewer than one in five of all its results do. Query words are split at punctuation, so a version such as 3.12 becomes 3 and 12. Single characters and common filler words (such as "the", "how" and "vs") are ignored, and so are one- and two-letter words when the query has longer ones; numbers of two or more digits are kept. So in "python 3.12 vs 3.13 performance", "vs" does not count as a match, but 12 and 13 do. Small spelling slips in longer words count as a match, and words of three letters or fewer must match as whole words. The report also counts on-topic sets, sets with fewer than three results (unjudged), empty sets and failed searches. For each off-topic set the report names the query and the engines that answered.

Limit: this is a lenient check. A result set that matches only one word of the query still counts as on-topic, so the real number of off-topic sets can be higher than this count (#788). A low count does not mean the results were relevant.

Rerun it.

npm run referee -- --set off-topic --build /tmp/wigolo-0.3.4/node_modules/wigolo/dist

On CI this took 4 minutes on Ubuntu, 17 on Windows and 26 on macOS. It downloads the ranking and embedding models (about 160 MB) unless your data folder already has them.

0.3.4 baseline, 2026-11-30 (30 searches):

Search engines were refusing most requests on the day these were recorded; see the 0.3.4 baseline.

MachineOff-topicOn-topicUnjudgedNo resultsFailed
ci-ubuntu-x64129000
ci-macos-arm64327000
ci-windows-x64129000

Answers in search results (search-qa)

What it means. Out of 100 single-fact questions with known short answers, how many searches put the answer in a top-five snippet. Higher is better. The questions are sampled from a published question set; see sets/search-qa/NOTICE.md.

How it is measured. Each question is searched once, uncached. Two numbers come out:

  • searchqa.found counts questions whose exact answer string appears in one of the top five snippets, after normalising case, accents, dates and thousands separators. This is the headline number.
  • searchqa.foundUpperBound also counts a question when the answer is on one of those five pages near two words from the question. The referee fetches those pages itself.

The report also counts questions with no results (noResults), questions whose search reported at least one engine warning such as a block or rate limit (engineWarnings), and the median and p95 search time. Search time is the search's own reported time; process start and the referee's page fetches are not in it.

Limits.

  • searchqa.found is a strict string check, and no model judges it. A correct answer worded differently, or a number written as a word, counts as not found.
  • A short answer such as a year or a small number can match a snippet that does not answer the question.
  • searchqa.foundUpperBound over-counts. On a hand-checked sample of 29 pages that contained the answer string but did not answer the question, the page check still counted 11.
  • Each report's Method section states the full rule.

Rerun it.

npm run referee -- --set search-qa --build /tmp/wigolo-0.3.4/node_modules/wigolo/dist

On CI this took about 32 minutes on Ubuntu, 72 on Windows and 84 on macOS. It downloads the same models as the off-topic set.

0.3.4 baseline, 2026-11-30 (100 questions, CI only; every question carries an engine warning):

Search engines were refusing most requests on the day these were recorded; see the 0.3.4 baseline. Timings vary by machine and network; compare them only with runs on the same machine type.

MachineFoundFound, upper boundNot foundNo resultsEngine warningsMedian msp95 ms
ci-ubuntu-x6410178301006769.57852
ci-macos-arm642595010011233.513332
ci-windows-x64913878100751711958

No question failed outright on any machine.

Live fetch sets

What it means. Two sets of 25 live pages each. fetch-docs-news holds versioned docs, archived news, code hosting pages pinned to a tag, and PDFs. fetch-apps-shops holds client-rendered apps, forum threads, shop product pages, and six pages known to challenge automated clients. For each page the question is whether wigolo returned the page's real text, or said honestly that it could not.

How it is measured. Each page is fetched once with wigolo fetch. Each page has two or three strings from its visible body text and one marker from that site's consent, challenge or paywall page. Each fetch gets one outcome:

OutcomeMeaning
correctEvery expected string is in the text, and the block marker is not.
partialSome expected strings are in the text, and the block marker is not.
honestFailurewigolo said the fetch failed or the body should not be trusted, or the wigolo process crashed, timed out or printed no result.
challengeHonestAn honest failure on a page known to challenge automated clients. Counted apart, since getting past a challenge is out of scope.
wrongAsSuccesswigolo reported success, but the text is empty, holds the block marker, or holds none of the expected strings. Lower is better; this is the outcome to watch.
deadThe referee's own request got 404 or 410, an unknown host, or a refused connection. A timeout or a reset does not count as dead. Left out of every other count.

The median and p95 times are per page and include process start.

Rerun it.

npm run referee -- --set fetch-docs-news --build /tmp/wigolo-0.3.4/node_modules/wigolo/dist
npm run referee -- --set fetch-apps-shops --build /tmp/wigolo-0.3.4/node_modules/wigolo/dist

Each set took from under a minute to about 9 minutes on the baseline machines. Pages that need a browser use the browser engine; if your browser engine cache does not have the version the build needs, wigolo starts downloading it (about 560 MB) in the background, and those pages count as honest failures until it is in place.

Limits.

  • Live pages change. A page that changes its text, or starts blocking automated clients, changes the result without any change in wigolo.
  • On the CI Ubuntu image, 0.3.4 could not install its browser engine: the bundled browser engine version does not support that OS release. The Ubuntu fetch numbers are HTTP only, and pages that need a browser failed there.
  • There is no CI Ubuntu fetch-docs-news report: that runner shut down about two minutes into the run on all three attempts (#791).

0.3.4 baseline, fetch-docs-news, 2026-11-30 (25 pages):

Timings vary by machine and network; compare them only with runs on the same machine type.

MachineCorrectPartialHonest failureChallenge, honestWrong as successDeadMedian msp95 ms
macos-arm64-dev1552030417544430
ci-macos-arm64134503010918122083
ci-windows-x641363030431246910
ci-ubuntu-x64no report

0.3.4 baseline, fetch-apps-shops, 2026-11-30 (25 pages):

Timings vary by machine and network; compare them only with runs on the same machine type.

MachineCorrectPartialHonest failureChallenge, honestWrong as successDeadMedian msp95 ms
macos-arm64-dev1323520498216756
ci-macos-arm641126510839318458
ci-windows-x641225510609517483
ci-ubuntu-x64 (HTTP only)621160017953605

Offline sets

Two sets need no network. They check that the referee itself works against a build, and take a few seconds each.

npm run referee -- --set toy
npm run referee -- --set fetch-fixture

toy fetches three local pages and should report 3/3 passed. fetch-fixture serves five local pages, one for each fetch outcome, and should score one each of correct, partial, honestFailure, wrongAsSuccess and dead. The wrongAsSuccess page there is a consent page built on purpose, so that outcome is expected.

Install and first-use download size

What it means. How much a fresh install puts on disk, and how much more wigolo downloads the first time each optional component is used. Lower is better.

How it is measured. In a temp folder with its own home and caches, the script runs npm install of the published package, then downloads the browser engine, the ranking model and the embedding model one at a time. Each number is the bytes that step added to disk. The browser engine step downloads only; it does not install the system libraries the browser engine may need on Linux. MB here means 1,000,000 bytes.

Rerun it.

npm run referee:size -- --published 0.3.4

This downloads about 1 GB, and the temp folder grows to about 1.5 GB on disk; the folder is deleted at the end. It took under 2 minutes of measured steps on the developer Mac. Run it on an otherwise idle machine.

0.3.4 baseline, 2026-11-30 (macos-arm64-dev only):

NumberValue
Package tarball2.1 MB
Installed size (size.installBytes)754.8 MB, 383 packages, 47.7 s
Tool caches the install wrote to the temp home90.3 MB
Browser engine download558.5 MB, 31.0 s
Ranking model download91.7 MB, 9.0 s
Embedding model download67.2 MB, 8.9 s
First-use downloads in total717.4 MB

The install used ONNXRUNTIME_NODE_INSTALL_CUDA=skip and npm 11.19.1. Download times depend on the network.

Runtime memory and timing

What it means. How much memory wigolo uses and how long it takes for four commands, run one after another from an empty data folder: wigolo --version, a first fetch, a second fetch of the same page, and one search.

How it is measured. The script samples memory (resident set size) with ps every 100 ms and keeps the peak for the main process and, apart from it, for its child processes together, such as the browser engine. Work time runs from start until the full result is on stdout. Exit lag is the time from that point until the process exits. Leftover processes counts any process a step left running after it exited.

  • The first fetch runs on the empty data folder, so it includes any on-demand download.
  • The fetch memory numbers come from the second fetch.
  • The fetch is of https://example.com/; the search is node.js readable streams.

Rerun it.

npm run referee:runtime -- --build /tmp/wigolo-0.3.4/node_modules/wigolo/dist

It runs on macOS and Linux only, since it needs ps. The measured steps took under 2 minutes on the developer Mac. It downloads what the first fetch and the search need into a temp folder and deletes it at the end. Run it on an otherwise idle machine; load changes the memory and time numbers.

Limits.

  • The 0.3.4 run was recorded with the 1-minute load average at 3.4. Its search was refused by most search engines, so the search memory, time and exit lag describe a search that got few or no relevant results, not a normal one.
  • The search step varies a lot between runs. Three runs on the day gave two kinds of result. In two of them, the search step used about 2.0 to 2.3 GB across the main and child processes, and the process stayed alive for 60 s after printing its results. In the third, the search step's child processes peaked at 158 MB and the process exited within about 1 s. Compare a later release's search numbers with that spread in mind.
  • Version and fetch memory moved by about 10% between runs on the day. The referee's own notes (benchmarks/referee/gates.ts) record first-fetch time moving by about 25% between runs of one build.

0.3.4 baseline, 2026-11-30 (macos-arm64-dev only; MB here means 1,000,000 bytes):

These values come from runtime.report.json. The per-step lines in runtime.report.md count 1,048,576 bytes as an MB, so they show smaller figures for the same memory.

NumberValue
wigolo --version, peak memory245.1 MB
Fetch, peak memory, main process541.1 MB
Fetch, peak memory, child processes305.8 MB
Search, peak memory, main process1593.0 MB
Search, peak memory, child processes714.2 MB
First fetch, work time36,161 ms
Second fetch, work time2,017 ms
Longest exit lag (the search)60,036 ms
Leftover processes0

Tool list and response size

What it means. How much text an agent receives from wigolo over MCP: the size of the tool list it reads once per session, and the size of a search reply. Lower means less of the agent's context is used.

How it is measured. The script starts wigolo's stdio MCP server once, asks for the tool list, then sends the 100 search-qa questions as searches, each with only the query set. Size is the UTF-8 bytes of each reply as compact JSON. The median and p95 cover the searches that returned results. The report also counts searches that returned results while at least one engine failed or refused (engineWarnings), searches with no results, and failed searches.

Limits.

  • Token counts are estimates: UTF-8 bytes divided by 4, rounded up. No tokenizer is used.
  • A search that returned results with engine warnings stays in the median and p95, and such replies tend to be smaller. In the 0.3.4 reports, 63 to 68 of 100 searches carry engine warnings.

Rerun it.

npm run referee:surface -- --build /tmp/wigolo-0.3.4/node_modules/wigolo/dist

The 100 searches took 10 to 23 minutes on CI. It downloads the ranking and embedding models into a temp folder and deletes it at the end.

0.3.4 baseline, 2026-11-30 (CI only):

Search engines were refusing most requests on the day these were recorded; see the 0.3.4 baseline.

MachineToolsTool list bytesTool list tokens (est.)Search median bytesSearch p95 bytesSearch median tokens (est.)Search p95 tokens (est.)With resultsEngine warningsNo results
ci-ubuntu-x641034,9038,72622,11229,0005,5287,250100640
ci-macos-arm641034,9038,72623,088.527,1755,772.56,794846316
ci-windows-x641034,9038,72622,86326,0715,7166,51897683

No search failed outright on any machine.

Compare two reports

What it does. Puts the numbers of two reports side by side and marks each change as a regression or an improvement. Use it to compare a new build with the 0.3.4 baseline from the same machine type.

npm run referee:compare -- benchmarks/referee/reports/0.3.4/macos-arm64-dev/fetch-docs-news.report.json benchmarks/referee/runs/RUN_ID

Replace RUN_ID with the run folder name the run printed on its last line.

Each argument is a report.json file or a run folder. It takes a second and downloads nothing. It warns when the two reports come from different sets.

Some numbers are gates: if one of them gets worse, or is missing from one side, the command exits 1. The gates are tasks passed and failed, fetch.correct, fetch.wrongAsSuccess, offtopic.offTopic, searchqa.found, runtime.leftoverProcesses and size.installBytes. Every other number is shown and marked but does not change the exit code. Timings are not gated.

Limits. Compare marks any change, however small, so a gated number can exit 1 with no change in wigolo. A gated count that moves by one on a live set exits 1. The size gate is byte-exact: two installs of the same 0.3.4 on the same Mac differed by 1,157 bytes, and comparing them exited 1. Look at the size of a change, not only the mark. Two runs of the same build also differ in their timings, and compare marks those changes too. Read a change against the limits of that number before calling it a regression. It does not check that the two reports come from the same machine.

The manual CI workflow

The repository has a manual CI workflow named Referee (.github/workflows/search-benchmark.yml). It runs one referee set against one published version on the CI machines. It runs only when started by hand, not on push or on a schedule.

Inputs: set (any set name above, or surface), version (a published version such as 0.3.4; empty runs the checked-out source) and os (all, ubuntu, macos or windows). Each machine's job has a 120-minute limit.

gh workflow run search-benchmark.yml -f set=toy -f version=0.3.4 -f os=ubuntu

You need write access to the repository, or run it in your fork with workflows turned on. The report goes to the job summary, and the report with its traces is uploaded as an artifact named after the set, version and runner, such as referee-toy-0.3.4-ubuntu-latest, kept for 30 days. The workflow does not run referee:size or referee:runtime.

Back to the docs index

Edit on GitHub

On this page