Skip to content

perf(tracker): linear rivals after cli-core #3346: linear-cli alone finds 27/27 - #409

Open
leemour wants to merge 1 commit into
mainfrom
perf/linear-rivals-after
Open

leemour wants to merge 1 commit into
mainfrom
perf/linear-rivals-after

Conversation

@leemour

@leemour leemour commented Nov 25, 2026

Copy link
Copy Markdown
Member

Task

cli-core #3346 fixed what the first linear rivals run found in the shared tracker commands: meaning search in issues search, a quoted query matched as a phrase, label:Bug by name, and a label made after the last sync. This measures linear-cli's own rows again on the same workspace and questions. cli-core main is not on npm as a 0.x release, so the run uses local builds.

What

  • A dated "After the fix: cli-core main, unreleased" section in performance/tracker/linear-rivals/README.md, with results-after-words.json and results-after-embed.json. These files hold only seed keys, times and sizes, like the first run's.
  • The setup: linear-cli release/1.0 (fbb5e86), built against cli-core main (cf03902f1) through a file: override that was never committed.
  • Scripts:
    • LINEAR_BENCH_OURS runs a local build;
    • LINEAR_BENCH_RESULTS writes to another results file, so the first run's files stay as they were;
    • setup now prints the sync answer's embeddings field (it printed null).
  • The area index line in performance/tracker/README.md shows the new numbers.

Headline, hit@5 of 27, after sync --embed:

Search Before, keywords After, keywords Before, sentences After, sentences
issues search 7 24 2 24
one quoted argument 1 24 — —
issues search + search 10 27 5 27

issues search misses only the 3 questions whose answer is a document, which linear search finds. The cost is time: a 2.2 s median with vectors, against 0.35 s with words only.

Testing

  • Ran node setup.mjs && node bench.mjs words --only …, then node setup.mjs --embed && node bench.mjs embed --only …, on the Linear test workspace (synthetic seed).
  • Passed: pnpm docs:check, biome on the folder, and markdownlint on the README.
  • Checked the results files for URLs, e-mail addresses and tokens. The only URL is the public MCP endpoint in the version list.

🤖 Generated with Claude Code

…inds 27/27

linear-cli's own rows run again with release/1.0 built against cli-core main
(cf03902f1, unreleased). After sync --embed, issues search goes from 7 to 24
of 27 at hit@5 (the 3 misses are the document questions), a quoted argument
from 1 to 24, and issues search with search together from 10 to 27, level
with memo's search all. Median 2.2 s with vectors against 0.35 s for words.

The scripts take LINEAR_BENCH_OURS (a local build) and LINEAR_BENCH_RESULTS
(another results file, so the first run's files stay), and setup reads the
sync answer's embeddings field.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant