Repository navigation
Competitive benchmark suite + benchmark-surfaced engine perf fixes (#423) - #424
Merged
Merged
Conversation
) New test/Typhon.CompetitiveBenchmark project comparing Typhon vs SQLite, RocksDB, LMDB, FASTER, and DuckDB across YCSB A-series, analytical B7, and Typhon-unique C-series scenarios (single-CCD-pinned, matched-guarantee). Engine perf improvements surfaced on this branch: - PagedMMF: gate MemPageCacheHit/Miss stat counters behind TelemetryConfig.ProfilerActive (JIT-folds to a no-op when the profiler is off) -- an always-on stat was taxing the hottest read path. - ChunkAccessor: warm window 16 -> 32 slots so hot index/directory pages stay slot-resident and hit the no-atomics fast path. - EcsQuery: copy-free CountEntries/AnyEntry for the Count/Any terminals (~10-13% on ExactQuery/Polymorphic/Any). - TraceEventGenerator: gate-before-timestamp fix (EnterExit 19 -> 3 ns). Excludes doc/feature-set/ (separate effort). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016LWhJqY8FJznYVBjL6uPas
nockawa
added a commit
that referenced
this pull request
Jul 1, 2026
…f the gate build merge-gate: drop Typhon.slnx from the engine + workbench change-filters. A .slnx-only change (e.g. adding a benchmark project) no longer drags in the engine/workbench suites -- the real source-dir triggers (src/Typhon.Engine/**, test/Typhon.Engine.Tests/**, tools/Typhon.Workbench/**) cover the cases that matter. This is why PR #424 -- which only added a project to the .slnx -- ran the Workbench suite and surfaced 7 pre-existing Linux-path / storage-taxonomy failures unrelated to it. ci.sky.yaml: build only the two test projects the gate runs instead of the whole solution. This excludes the benchmark projects (Typhon.Benchmark, Typhon.CompetitiveBenchmark) from the gate build and skips restoring their heavy native deps (RocksDB / LMDB / FASTER / DuckDB / ...); they only ever run via the opt-in benchmark.yml, never the merge gate. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016LWhJqY8FJznYVBjL6uPas
nockawa
added a commit
that referenced
this pull request
Jul 1, 2026
* CI: point workflows at the log2n-io org (post-migration) merge-gate: check out the TLA specs from Log2n-io/Typhon-Claude. The old nockawa/typhon-claude name only resolved via GitHub's redirect, which does not carry the ssh deploy key -- so the tla job would fail auth on any Durability PR. project-sync: retarget the org project #1. Every job hardcoded the defunct user board (nockawa/projects/7) node/field/option IDs, so issue+PR events synced to a dead board instead of https://github.com/orgs/Log2n-io/projects/1. Updated PROJECT_ID / STATUS_FIELD_ID / option IDs; the removed 'Review' status maps to In Progress (org #1 has only Todo / In Progress / Done). Note: project-sync uses the PROJECT_TOKEN secret -- verify it is an org-scoped PAT with project write access, or the GraphQL mutations 403. * CI: stop .slnx changes triggering heavy suites; keep benchmarks out of the gate build merge-gate: drop Typhon.slnx from the engine + workbench change-filters. A .slnx-only change (e.g. adding a benchmark project) no longer drags in the engine/workbench suites -- the real source-dir triggers src/Typhon.Engine/**, test/Typhon.Engine.Tests/**, tools/Typhon.Workbench/**) cover the cases that matter. This is why PR #424 -- which only added a project to the .slnx -- ran the Workbench suite and surfaced 7 pre-existing Linux-path / storage-taxonomy failures unrelated to it. ci.sky.yaml: build only the two test projects the gate runs instead of the whole solution. This excludes the benchmark projects (Typhon.Benchmark, Typhon.CompetitiveBenchmark) from the gate build and skips restoring their heavy native deps (RocksDB / LMDB / FASTER / DuckDB / ...); they only ever run via the opt-in benchmark.yml, never the merge gate.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Delivers Feature #423 — a standalone competitive-benchmark harness comparing Typhon against same-category embedded engines (SQLite, RocksDB, LMDB, FASTER, DuckDB), plus the small engine perf improvements surfaced on this branch. Excludes
doc/feature-set/(separate effort).Contents
test/Typhon.CompetitiveBenchmark— YCSB A-series (point / mixed / RMW / amplification / ordered scan), analytical B7 (SUMvs DuckDB, threading-controlled) +b7xscaling diagnostic, and Typhon-unique C-series (storage-mode ladder, MVCC readers+writers, cross-component commit, durable commit, spatial, crash recovery, ECS iteration). Single-CCD-pinned, matched-guarantee framing.PagedMMF— gateMemPageCacheHit/Missstat counters behindTelemetryConfig.ProfilerActive(JIT-folds to a no-op when off).ChunkAccessor— warm window 16 → 32 slots (hot index/directory pages stay slot-resident, no-atomics fast path).EcsQuery— copy-freeCountEntries/AnyEntryfor Count/Any terminals (~10–13% on ExactQuery/Polymorphic/Any).TraceEventGenerator— gate-before-timestamp fix (EnterExit 19 → 3 ns).Testing
Full engine suite: 3956+ pass. The handful of failures are pre-existing order-dependent flakes, not regressions from this change:
*_WhenLockTimeout_DoesNotLeak*/MMF.CheckInternalState— the documented-fragile leak check (open Bug ExceptionPathLeakTests: MMF.CheckInternalState leak check is fragile on the c6id gate box #410).WalWindow_SingleTxSpawn/WAL_DeleteEntity_SurvivesReopenthrowing aCascadeItemcascade-diamond error — a fixture archetype leaking across tests via the process-global registry.All of them pass in isolation, and none touch the files changed here. Two full-suite runs disagreed on which/how many failed (3 vs 5) — the signature of test-order flakiness, not a deterministic regression.
Notes
Not merged — handed off for review + merge per request.
Closes #423
🤖 Generated with Claude Code