Skip to content

Add exact-head GC evidence packet for #1090#1322

Merged
proggeramlug merged 1 commit into
PerryTS:mainfrom
andrewtdiz:codex/gc-1090-evidence-packet-20260522
May 22, 2026
Merged

Add exact-head GC evidence packet for #1090#1322
proggeramlug merged 1 commit into
PerryTS:mainfrom
andrewtdiz:codex/gc-1090-evidence-packet-20260522

Conversation

@andrewtdiz
Copy link
Copy Markdown
Contributor

Summary

Adds a one-command #1090 evidence packet that compares an exact head commit against origin/main from clean detached worktrees.

This does not close #1090. It makes #1090 measurable.

Refs #1090.

What changed

  • Added scripts/gc_1090_evidence_packet.sh
  • Added scripts/gc_1090_evidence_report.py
  • Added parser/gate unit tests
  • Added a shell smoke harness

Why

#1090's target invariant needs exact-head proof:

minor GC cost = live young objects + dirty old pages/cards + mutable roots

The packet reports:

  • exact base/head SHAs
  • benchmark time/RSS deltas
  • checksum/correctness status
  • memory stability pass/fail counts
  • copied-minor fallback reasons
  • conservative pinned bytes
  • copy-only pinned bytes
  • copied/promoted objects/bytes
  • malloc registry rebuilds
  • target collector gate summary

Verification

  • python3 -m unittest tests/test_gc_1090_evidence_report.py
  • python3 -m py_compile scripts/gc_1090_evidence_report.py tests/test_gc_1090_evidence_report.py
  • bash -n scripts/gc_1090_evidence_packet.sh tests/test_gc_1090_evidence_packet_smoke.sh
  • git diff --check

Manual packet command

scripts/gc_1090_evidence_packet.sh \
  --base-ref origin/main \
  --head-ref HEAD \
  --runs 5 \
  --out tmp/gc-1090-evidence

@proggeramlug proggeramlug merged commit d933e5d into PerryTS:main May 22, 2026
9 checks passed
proggeramlug added a commit that referenced this pull request May 22, 2026
…sweep (#1414)

Rolls up 26 PRs that merged to main post-v0.5.1023 without version
bumps:

- node:crypto gap-fixes (#1386 #1393 #1394 #1402 #1405): randomInt,
  timingSafeEqual, getHashes/getCiphers, sha224/sha384, base64 digest,
  Buffer hash input, no-arg digest() → Buffer, pbkdf2Sync digest arg,
  scryptSync.
- node:perf_hooks (#1321 + #1328 #1342 coverage): performance + User
  Timing + PerformanceObserver native impl, granular node-suite +
  edge-case coverage.
- #1090 GC checkpoint runtime work (#1324).
- #1311 geisterhand on iOS (#1316 #1383 #1384 #1385).
- #1312 process.env.X (unset) is nullish undefined (#1314).
- #1319 thread-safety hardening for cross-thread runtime statics.
- #1322 exact-head GC evidence packet.
- #1323 wasm timers dispatch through mem_call bridge (#1329).
- #1317 node:timers/promises shadow-segfault fix (#1326).
- #1330 node:process suite (#1331).
- #1292 bcrypt.hash() returns String (#1307).
- #1293 fastify .json()/.body external-fastify dispatch (#1308).
- #1296 app pattern performance gaps.
- #1297 diagnostics_channel parity.
- #1301 iOS App Groups capability (#1313).
- #1318 #1325 os/methods/modern-methods static dispatch.
- #1315 expanded Node parity test coverage.
- #1382 ui-ios stdlib pump for async fetch.
- #1392 ui-wasm reactive state + setText (#1404).
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.

GC roadmap: make minor GC structurally cheap

2 participants