Commit graph

2 commits

Author SHA1 Message Date
Peter Steinberger
d95272af34
perf(plugins): reduce allocation for forwarded stream results (#161696)
Project ordinary iterator payloads on first consumption and share completed graph inspection only within that synchronous reader chain. Preserve consumer admission, mutable native data, and exceptional-result projection while removing the intermediate Promise mapping.

Reduce sampled allocation by 38-40% across five forwarding layers. Record the read-before-forward limitation, add native-await and lifecycle regressions, and clarify the SDK contract.
2026-09-30 06:57:29 +00:00
Peter Steinberger
fd17d340ad
perf(plugins): reduce repeated stream payload inspection (#160208)
Share data classification only within one synchronous iterator-result read. Preserve mutation rechecks and nested consumer admission while reducing repeated payload walks. Add an old-code-failing regression and a reproducible streaming allocation benchmark.
2026-09-29 00:34:08 +00:00