sususu
cf8c27fe90
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.
2026-08-11 16:07:42 +08:00
..
2026-08-11 16:07:42 +08:00
2026-07-30 23:26:20 +08:00
2026-07-31 12:45:13 +08:00
2026-07-26 14:31:45 +08:00
2026-07-26 03:07:21 +08:00
2026-08-11 09:57:15 +08:00
2026-07-26 14:31:45 +08:00
2026-08-11 16:07:42 +08:00
2026-07-07 02:39:13 +08:00
2026-08-11 16:07:42 +08:00
2026-08-05 00:27:32 +08:00
2026-08-11 16:07:42 +08:00
2026-08-05 00:27:32 +08:00
2026-08-11 16:07:42 +08:00
2026-08-11 16:07:42 +08:00
2026-08-11 16:07:42 +08:00
2026-07-25 14:07:31 +08:00
2026-08-11 09:57:15 +08:00
2026-08-11 09:57:15 +08:00
2026-08-11 09:57:15 +08:00
2026-08-11 16:07:42 +08:00
2026-08-03 16:09:22 +08:00
2026-07-25 23:20:17 +08:00
2026-08-03 14:47:26 +08:00
2026-08-03 14:47:26 +08:00
2026-08-03 14:47:26 +08:00
2026-08-03 15:44:44 +08:00
2026-08-05 18:25:40 +08:00
2026-08-03 15:44:44 +08:00
2026-08-03 14:47:26 +08:00
2026-08-10 04:32:28 +08:00
2026-08-03 14:47:26 +08:00
2026-08-03 14:47:26 +08:00
2026-08-03 14:47:26 +08:00
2026-08-10 04:32:28 +08:00
2026-08-10 04:32:28 +08:00
2026-08-10 04:32:28 +08:00
2026-08-10 04:32:28 +08:00
2026-08-03 14:47:26 +08:00
2026-08-06 17:19:24 +08:00
2026-08-03 14:47:26 +08:00
2026-08-06 17:19:24 +08:00
2026-08-03 14:47:26 +08:00
2026-08-03 14:47:26 +08:00
2026-08-09 04:36:39 +08:00
2026-08-09 04:36:39 +08:00
2026-07-26 14:31:45 +08:00
2026-07-26 03:07:21 +08:00
2026-07-11 11:42:51 +08:00
2026-08-06 17:19:24 +08:00
2026-07-18 03:58:03 +08:00
2026-08-03 02:45:49 +08:00
2026-07-18 03:58:03 +08:00
2026-07-24 11:10:58 -07:00
2026-07-26 19:11:32 +08:00
2026-08-06 17:19:24 +08:00
2026-07-14 00:35:48 +08:00
2026-08-06 04:49:28 +08:00
2026-08-09 18:01:28 +08:00
2026-08-09 18:01:28 +08:00
2026-08-06 20:49:23 +08:00
2026-08-06 17:19:24 +08:00
2026-07-26 14:31:45 +08:00
2026-07-30 16:37:40 +08:00
2026-07-31 12:45:13 +08:00
2026-08-07 19:16:06 +08:00
2026-07-26 14:31:45 +08:00
2026-08-06 04:49:28 +08:00
2026-07-23 13:42:08 +08:00
2026-08-07 19:16:06 +08:00
2026-07-26 14:31:45 +08:00
2026-08-01 13:01:33 +08:00
2026-07-26 14:31:45 +08:00
2026-07-25 00:32:37 +08:00
2026-08-06 04:49:28 +08:00
2026-07-20 13:57:14 +08:00
2026-07-30 21:53:30 +08:00
2026-08-06 17:19:24 +08:00
2026-07-29 14:14:18 +08:00
2026-07-23 13:42:08 +08:00
2026-08-10 05:13:24 +08:00
2026-08-08 05:08:42 +08:00
2026-08-08 05:08:42 +08:00
2026-08-09 04:36:39 +08:00
2026-08-05 05:13:09 +08:00
2026-08-07 06:26:33 +08:00
2026-08-03 03:37:24 +08:00
2026-08-08 06:08:23 +08:00
2026-08-07 19:16:06 +08:00
2026-08-07 19:16:06 +08:00
2026-07-23 13:42:08 +08:00
2026-07-23 13:42:08 +08:00
2026-07-26 14:31:45 +08:00
2026-08-04 18:37:01 +08:00
2026-07-27 00:01:49 +08:00
2026-08-09 23:15:46 +08:00
2026-08-07 06:48:09 +08:00
2026-07-26 14:31:45 +08:00
2026-08-09 23:15:46 +08:00
2026-07-26 14:31:45 +08:00
2026-08-05 07:28:55 +08:00
2026-07-12 23:59:39 +08:00
2026-08-07 06:48:09 +08:00
2026-08-07 06:48:09 +08:00
2026-08-07 06:48:09 +08:00