Skip to content

Commit c3d65ad

Browse files
committed
Record local unit 54 evidence
1 parent 549486d commit c3d65ad

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

tasks/T018-broad-performance.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ goal, not permission to optimize only the repository's internal benchmark
1010
shapes. The pinned external JetStream 3 JavaScript subset, Kraken 1.1, and
1111
SunSpider 1.0 neutral shell ports are an independent anti-overfitting boundary:
1212
the campaign cannot complete unless the improvement generalizes there too.
13+
Optimization priorities must therefore come from general engine mechanisms and
14+
independent external profiles; broad-micro is a regression guard, not a target
15+
whose case shapes may dictate runtime design.
1316

1417
## Scope
1518

@@ -3186,6 +3189,46 @@ The prototype was reverted without a runtime commit: one improved external
31863189
case does not outweigh three suite-wide regressions under the anti-overfitting
31873190
contract.
31883191

3192+
The fifty-fourth v2 unit follows the independent SunSpider regexp/string
3193+
profile into general UTF-16 regexp preparation. macOS sampling of
3194+
`string-unpack-code` showed that every non-Unicode pattern and input code unit
3195+
allocated a temporary Rust `String` only to extract its first `char`. The
3196+
runtime now maps a code unit directly to the existing internal character
3197+
representation: ordinary code units retain their scalar value and lone
3198+
surrogates retain the established sentinel encoding. `push_code_unit` shares
3199+
the same conversion helper, and the focused test covers both ASCII and lone
3200+
surrogate round trips. The implementation contains no suite or case identity,
3201+
source path, iteration count, checksum, or benchmark-specific result.
3202+
3203+
Against the exact unit-53 same-host base, the complete one-block external
3204+
inventory retained 5/5 JetStream, 14/14 Kraken, and 26/26 SunSpider coverage.
3205+
Candidate/base geometric means were **1.006037x**, **1.008965x**, and
3206+
**0.726930x** respectively, with 2/5, 6/14, and 12/26 cases faster. The small
3207+
unaffected-suite movements are within the adjacent one-block host drift: the
3208+
immediately preceding rejected property-cache prototype measured 1.009939x
3209+
and 1.005941x against the same base. The affected independent cases improved
3210+
by an order of magnitude: `regexp-dna` fell to 0.075346x base,
3211+
`string-tagcloud` to 0.059895x, and `string-unpack-code` to 0.049642x.
3212+
Independent three-run direct timings were 3.52--3.55 seconds, 2.62--2.63
3213+
seconds, and 4.40--4.51 seconds respectively, versus unit-53 one-block
3214+
durations of 46.68, 42.81, and 89.21 seconds. Candidate/QuickJS-NG remains far
3215+
from B5 at 7.317x, 4.976x, and 6.765x. External raw/report SHA-256 are
3216+
`2531f93d84e9cbba106c32f10879c89697b01c79c587e3e0f4acef42eaa4c321`
3217+
and `b41aab481a0b0d3f28b13ba45a47ad849fd7df35f426cd9c0b10ab93b0d97c32`.
3218+
3219+
The receipt-less one-block broad diagnostic completed all 25 cases and all
3220+
75/75 eligible measurements. Manual protocol-equivalent normalization
3221+
measured candidate/base at **1.006793x** overall with 10/25 cases faster and
3222+
candidate/QuickJS-NG at **0.189055x**. The string family was 0.983693x base;
3223+
unaffected families ranged from 1.001059x to 1.026644x in this single-block
3224+
run. The raw JSONL SHA-256 is
3225+
`9007098682c619de1113da5c1ab37315c188717087729f70fc9cdcb9ae3d3d8a`.
3226+
All 1,392 runtime tests, the full workspace and benchmark-tool gates, the
3227+
5,139-case Test262 subset, and 205 QuickJS-NG comparison fixtures passed.
3228+
Exact pushed performance and coverage artifacts remain required before unit
3229+
54 is closed; this local result is accepted as external generalization
3230+
evidence, not B5 completion.
3231+
31893232
## Historical Broad V1 Baseline
31903233

31913234
The first complete baseline was recorded on 2026-07-15 at commit

0 commit comments

Comments
 (0)