Skip to content

Add representative Linux performance evidence (#92, after #95) - #96

Merged
TristanKruse merged 4 commits into
mainfrom
study/linux-performance
Nov 22, 2026
Merged

TristanKruse merged 4 commits into
mainfrom
study/linux-performance

Conversation

@TristanKruse

Copy link
Copy Markdown
Collaborator

Summary

Closes #92 after successful Linux validation; final delivery under #66. Builds on #93 → #94 → #95.

  • Add a separate, checksum-locked research bundle with exact ArchSpec 1.1.0/RubyDEX 0.4.0/Prism 1.9.0 pins for Linux and Windows. Production dependencies and packaged gem are unchanged.
  • Eight Rails-like/four-engine shared-policy cases (two densities, allowed/forbidden), repeated alternating graph rebuild/reuse, explicit source changes, independently fresh process startup and honest Ruby-heap/RSS metrics. Every sample checks expected diagnostics before retaining timing.
  • Profile pinned sparse production Discourse read-only in both modes, verifying exact revision, 2,510 sources, clean/unchanged checkout, warm graph identity and zero repeated cold counters. No target boot, tests, Gemfile/config evaluation or dependency installation.
  • Add immutable-action/source-pinned Linux research CI: manual/relevant-study-PR triggers only, read-only permissions, no persisted credentials, separate frozen bundle, 15-minute timeout and raw JSON/lock artifacts. Repeats bounded semantic comparison on Linux too. No flaky speed gate/leaderboard or auto-blessed graph baselines.

Validation

  • Lightweight harness/workflow/oracle specs and lint.
  • Local three-trial 200-file comparisons passed every allowed/forbidden/density/changed-source control and fresh subprocess count, both tools.
  • Linux workflow and full CI results are checked on this PR before handoff. Raw results/definitions are retained for review, not a universal speed or semantic-parity claim.

Review

Merge #93 → #94 → #95 → this PR. All candidate runtime features remain unreleased 1.1 development; no publication or automatic merge is included. See benchmark/study/README.md and the workflow artifact for scopes, definitions and limitations.

@TristanKruse
TristanKruse marked this pull request as ready for review November 22, 2026 14:20
@TristanKruse

Copy link
Copy Markdown
Collaborator Author

Verified Linux evidence — 2026-11-22

Successful study run and
raw JSON + exact lock artifact
(14-day artifact retention; downloaded copy inspected locally).

Candidate commit 8a6753b, PR merge revision 2e28cf0.
Ubuntu 26.04 runner, Ruby 4.0.10, Prism 1.9.0; ArchSpec 1.1.0 / RubyDEX 0.4.0.
Eight 200-file shapes/policies, five alternating trials per tool. All expected cold/warm/changed
and independent-startup diagnostic counts were verified again from downloaded evidence; fresh
Linux child RSS values are populated, not zero placeholders. All 14 semantic probes completed.

Shape Density Policy ArchUnit rebuild + check (ms) ArchSpec rebuild + check (ms)
Rails-like 1 allowed 36.70 47.48
Rails-like 1 forbidden 36.36 46.88
Rails-like 3 allowed 55.61 54.79
Rails-like 3 forbidden 47.78 55.32
Four engines 1 allowed 42.46 50.31
Four engines 1 forbidden 42.43 49.50
Four engines 3 allowed 56.32 56.55
Four engines 3 forbidden 54.67 56.95

Medians, preloaded libraries and warm OS filesystem caches; this is not cold-process startup.
Graph-reuse check medians span 1.36–3.08 ms for our public check and 0.70–3.18 ms for the
comparator's graph evaluator. Those workflows include different work; no universal winner or
equal semantic-coverage claim follows. Raw startup/memory samples are in the artifact.

Pinned sparse Discourse: 2,510 sources, verified revision/clean unchanged checkout, both modes,
three cold/warm pairs each. Median rebuild: 1.813 s (imports), 2.944 s (expanded). Average cached
lookup: 0.142 / 0.219 ms. These are analyzer-only on this Linux runner, not Rails boot or an
equivalent ArchSpec architecture-policy comparison. Windows uses different Ruby/hardware/OS;
do not interpret cross-machine differences as an optimization speedup.

Final integrated local suite: 892 examples, zero failures, 10 native-symlink skips on Windows;
reported library coverage 98.68% line / 92.10% branch. All PR #96 checks, including native Linux
symlink coverage, docs/packaging, security, the RAG fixture, four canaries and the new study passed.

@TristanKruse
TristanKruse merged commit 284b14a into main Nov 22, 2026
16 checks passed
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.

Add representative Linux architecture performance study

1 participant