Skip to content

feat(site): preselect the largest load where ExoJS leads - #773

Merged
Exoridus merged 1 commit into
nextfrom
feat/bench-competitive-load-select
Sep 22, 2026
Merged

Exoridus merged 1 commit into
nextfrom
feat/bench-competitive-load-select

Conversation

@Exoridus

Copy link
Copy Markdown
Owner

Cards used to open on the load the harness marked primary, which carries no relation to how ExoJS actually did against its JavaScript peers there.

openingSelection now opens each card on the largest load where ExoJS leads every JavaScript peer (Rapier excluded - it is a Rust/WASM reference ceiling rather than a peer, same split as the headline sentences), or - failing that - the load it trails least, ties broken toward the larger load. The card states the reason inline when the choice was data-dependent. Every other load stays directly selectable; nothing changes about which loads or figures a card carries, only which one it opens on.

8 new unit tests for the selection function; existing bench site tests and typecheck stay green.

Cards used to open on the load the harness marked primary, which
carries no relation to how ExoJS actually did against its JavaScript
peers there. openingSelection now opens each card on the largest load
where ExoJS leads every JavaScript peer (Rapier excluded, since it is
a Rust/WASM reference ceiling rather than a peer), or - failing that -
the load it trails least, ties broken toward the larger load. The
card states the reason inline when the choice was data-dependent.

Every other load stays directly selectable; nothing changes about
which loads or figures a card carries, only which one it opens on.
@Exoridus
Exoridus enabled auto-merge (squash) September 22, 2026 16:03
@codecov

codecov Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

Bundle Report

Changes will decrease total bundle size by 89 bytes (-0.0%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
site-server-esm 14.31MB -89 bytes (-0.0%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: site-server-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
_astro/ExoHeader.BIMpFHjs.js (New) 30.14kB 30.14kB 100.0% 🚀
_astro/ExoHeader.DmmvfOl4.js (Deleted) -30.23kB 0 bytes -100.0% 🗑️

@Exoridus
Exoridus merged commit c984328 into next Sep 22, 2026
16 checks passed
@Exoridus
Exoridus deleted the feat/bench-competitive-load-select branch September 22, 2026 16:14
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