Skip to content

perf(PERF-01): measure compiled payload and browser worker costs - #37

Merged
ellainng merged 1 commit into
mainfrom
perf/PERF-01-compiler-measurements
Oct 21, 2026
Merged

ellainng merged 1 commit into
mainfrom
perf/PERF-01-compiler-measurements

Conversation

@ellainng

Copy link
Copy Markdown
Member

Closes #26.

Measure the existing dependency-selected helpers against all helpers available to the same compiler profile. A reproducible report separates source, generated modules, helpers, maps, notices, metadata/harness, complete payload, per-file gzip and canonical compressed archives. It records warm compiler builds, fresh/warm browser-context startup, and separate dedicated-worker V8 heap observations with actual tool/source/corpus identities and raw samples.

Both helper modes must match the 24-case CPython corpus in Node and Chromium; deliberately corrupting arithmetic demonstrates that two wrong variants cannot satisfy the reference gate. Three measured fixtures each cover both helper modes and source-map policies. The checked-in five-sample observations describe synchronous compiler fixtures, including their measurement harness; browser-host/PWA shells and future interpreter comparisons remain separate. Compiler runtime code, language behavior, dependency versions and package release version are unchanged.

Validation: 85 tests; three measurement tests against an isolated built wheel; 48 corpus observations per JavaScript target; twelve browser fixtures with five build/cold/warm/heap samples per condition. CI pins the browser job's Node version and retains its fresh measurement report. No general speed or memory improvement is claimed.

@ellainng
ellainng merged commit 804a70f into main Oct 21, 2026
4 checks passed
@ellainng
ellainng deleted the perf/PERF-01-compiler-measurements branch October 21, 2026 01:59
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.

PERF-01: Measure compiled application and helper footprints

1 participant