Something went wrong. Try again.
sloproxy
Something went wrong. Try again.
perf(antigravity): translate each upstream request once
Execute, executeClaudeNonStream and ExecuteStream all assign the validated original payload to the request and then translate both values. Since both translations saw the same bytes, every Antigravity request paid for a second full scan of the client payload. On a captured 24MB tool-history request that second pass cost roughly 0.9s of CPU and 651MB of allocations. Translate once when both inputs share a backing array and hand the caller an independent duplicate, because later stages edit the working copy in place. Payloads that genuinely differ still get two translations.
Author sususu Committer sususu98 Date (Aug 11, 2026, 8:07 AM UTC) Commit
Copy SHA
Parent d5f68856 d5f68856f6dacbda164bc937e2aae8303a93c7d3