Repository navigation
Conversation
The qualification adapter includes the fix from oven-sh/bun#41769, preserving owned payload validation and removing unused JIT code. Co-authored-by: robobun <robobun@oven.sh>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This experimental implementation is not proposed for landing. It passes correctness and budget checks, but both measured versions trade a messaging improvement for a providers regression.
The final version serializes generated function bodies into immediately charged immutable deltas and combines them once when a weak program block needs decoding. Weak executable identities, stale-callback checks, and accounting for live payloads after eviction preserve the existing 256 MiB-per-VM bound. No decoded executable graph is retained by the cache. Public cached-data generation remains separate.
Final native comparison: one quiet AWS c7a.16xlarge, four workers on CPUs 0–7, isolated process state/cache directories, eight observations per comparison in ABBAABBA order (four per arm). The unchanged workload is OpenClaw
affb994cf4193ff967b0f792b4634435d3942948. Both Bun arms include the same namespace/stack adapters and the independent cached-data repair in openclaw/bun#118.The independent Node 24 comparison puts the candidate at 1.3247× Node wall / 1.5464× collection for providers and 1.0886× / 1.0959× for messaging. Collection values sum overlapping worker/module durations. A prior 64-observation version copied the whole payload after each generated body; it also improved messaging while regressing providers. Those samples remain separate from the final version.
Correctness: 196 JSC configurations, 361 VM tests, 365 surrounding stack/source-map/util/WebKit tests, 47/47 fork-selection results, 273 exact position observations matching Node, lazy-body reuse after GC, update/eviction bounds, public cached-data determinism, and debugger/referrer/import.meta checks pass. Existing VM skips and TODOs are unchanged. The final engine and matching Bun adapter passed https://github.com/openclaw/WebKit/actions/runs/37258784020 on
e4dead84626bf5816f934aeef2beb7fe737ac71a; scoped P2 reviews are clean.The providers regression fails the performance goal for the target set. Closing the prototype with its measurements instead of merging it. The separate JIT-less cached-data fix from @robobun's oven-sh/bun#41769 is merged as Bun oven-sh#118. No artifact publication workflow was dispatched, and no decoded-graph retention work was started.