Repository navigation
chore(bench): add opencode-core, lobehub, and sentry to benchmark catalog - #1130
Conversation
Pin three large current TypeScript codebases at their 2026-11-28 HEADs: opencode packages/core (Effect-heavy, installed through pnpm dlx bun), lobehub tsconfig.type-check.json (33k files) and sentry's root tsconfig. opencode's overlay disables composite, which --incremental false rejects (TS6379). lobehub ships without a lockfile, so its overlay commits one and the install reads it with --frozen-lockfile. sentry's install builds the three referenced packages it consumes as declarations with TypeScript 7.1.0-beta. tsgo, tsrs and tsrs --fast report 0 errors on all three; tsgo snapshots added and the determinism matrix passes at 4 and 8 checkers.
Performance change vs mainWorkflow run · main Clef gate: Running benchmarks because the decision was unavailable (GitHub did not provide a patch). The main and PR tsrs-lintThe main and PR |
Merging this PR will not alter performanceWarning oxc-project has exceeded the Hobby plan limit of 5 active contributors. Upgrade your plan or apply to the open source program by December 8, 2026 to keep using CodSpeed. 1 warning
Comparing Footnotes
|
the catalog only had one Effect-heavy app (
t3code-server) and nothing above ~20k files. addsopencode-core(packages/coreofanomalyco/opencode, Effect 4, installed viapnpm dlx bun@1.4.4with acomposite: falseoverlay likedate-fns),lobehub(tsconfig.type-check.json, Next.js/Drizzle/tRPC/antd, with a committedpnpm-lock.yamloverlay since upstream setslockfile: false), andsentry(roottsconfig.json, pre-building its three referenced declaration packages withtypescript@7.1.0-beta), plus committed tsgo snapshots and estimated determinism shard weights.all three exit 0 with 0 errors on tsrs, tsrs
--fast, and pinned tsgo7.1.0-beta, and pass all 72 new determinism comparisons at 8 checkers (at 18 checkers with Go assignment, both tsrs and tsgo report one extra TS2322 in lobehub'squeryByIds.ts, while 8, 12, and 16 checkers are clean on both). a coldbench.mjs prepareof all three in a linux/amd64 node 24 container with no bun took 150s.--fastopencode-cored1d46b9sentry8dd7ca9lobehub06fb3c2local medians are rough (5 runs, 3 for
lobehub, M3 Max under load).lobehubis now the heaviest catalog project (~4 GBnode_modules, ~13.5 GiB tsgo peak near the 16 GB CI runner limit, ~5.5 min local determinism run) and also an interesting perf target since tsrs is only ~1.4x-1.6x faster there