mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-07 08:33:50 +08:00
The worker series adds 16 corpus programs without measured costs in tests/harness/corpus-costs.json, which dropped the measured share below shard.test.ts's 0.9. Their plain and san costs are local timings of each program's differential and llvm-differential cases, scaled by the median ratio between the recorded and local timings of four programs timed in the same run (001-hello, 1000-json-stringify-basics, 5022-lifetime-region-workers, 5164-worker-field-callback-receiver). 5805 read its second message right after the first arrived; under load the parent's second postMessage could still be in flight, so the read answered undefined. The worker now waits on a shared flag that the parent sets after posting its first three messages. The output is unchanged.