sususu98
40beca02c8
perf(payload,handlers): eliminate large base64 allocation amplification
...
Avoid full-payload copies when evaluating payload rules and reading HTTP
request bodies, cutting heap allocation amplification on multi-megabyte
base64 requests by >80% with zero behavioral changes:
- Evaluate single-item payload query predicates directly on ojson.Result
without copying item.Raw into a temporary "[...]" buffer (with exact
fallback for edge/malformed syntax).
- Resolve clean array "@reverse.<N>" paths via zero-copy ForEach traversal
instead of ojson.modReverse full-array cloning.
- Fast-path scalar, empty-container ([] / {}), and type-mismatch checks in
payloadResultEquals to skip moego/json.Unmarshal on large arrays, and use
bytes.TrimSpace in normalizedPayloadJSON.
- Cache compiled moego/regexp patterns in payload.replace with a bounded map.
- Release originalRequest in ClaudeInputTokenState once disabled or handled,
and only retain replayRequestPayload in Antigravity stream when replayScope
is valid.
- Preallocate raw request body buffers from Content-Length (capped at 4 MiB)
in ReadRawRequestBody to avoid io.ReadAll slice-doubling copies.
2026-11-29 12:22:41 +08:00
..
2026-11-29 10:40:46 +08:00
2026-11-29 10:40:46 +08:00
2026-11-29 10:40:46 +08:00
2026-11-29 10:40:46 +08:00
2026-11-29 10:40:46 +08:00
2026-11-29 10:40:46 +08:00
2026-11-29 10:40:46 +08:00
2026-11-29 10:40:46 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-29 10:40:46 +08:00
2026-11-29 10:40:46 +08:00
2026-11-29 10:40:46 +08:00
2026-11-29 10:40:46 +08:00
2026-11-29 10:40:46 +08:00
2026-11-03 03:05:04 +08:00
2026-11-16 09:58:12 +08:00
2026-11-23 11:08:44 +08:00
2026-11-29 10:40:46 +08:00
2026-11-29 10:40:46 +08:00
2026-11-29 10:40:46 +08:00
2026-11-29 10:40:46 +08:00
2026-11-29 10:40:46 +08:00
2026-11-25 11:41:46 +08:00
2026-11-25 11:41:46 +08:00
2026-11-29 10:40:46 +08:00
2026-11-29 10:40:46 +08:00
2026-11-03 03:05:04 +08:00
2026-11-11 02:51:36 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-19 23:08:32 +08:00
2026-11-19 23:08:32 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-21 21:06:13 +08:00
2026-11-21 21:06:13 +08:00
2026-11-16 03:02:43 +08:00
2026-11-10 00:03:55 +00:00
2026-11-09 18:02:40 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-04 23:58:05 +08:00
2026-11-16 03:02:43 +08:00
2026-11-15 22:32:47 +08:00
2026-11-29 12:22:41 +08:00
2026-11-09 22:44:37 +08:00
2026-11-16 03:02:43 +08:00
2026-11-03 08:17:15 +08:00
2026-11-16 09:58:12 +08:00
2026-11-12 21:07:10 +08:00
2026-11-12 21:07:10 +08:00
2026-11-22 02:25:37 +08:00
2026-11-10 18:51:42 +08:00
2026-11-10 18:51:42 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 11:21:33 +08:00
2026-11-03 11:21:33 +08:00
2026-11-14 16:33:48 +08:00
2026-11-16 03:02:43 +08:00
2026-11-16 09:58:12 +08:00
2026-11-06 18:38:00 +08:00
2026-11-10 04:00:28 +08:00
2026-11-16 22:06:14 +08:00
2026-11-22 15:59:16 +08:00
2026-11-22 15:59:16 +08:00
2026-11-04 02:58:57 +08:00
2026-11-04 02:58:57 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-20 23:14:11 +08:00
2026-11-03 03:05:04 +08:00
2026-11-16 12:28:56 +08:00
2026-11-16 12:28:56 +08:00
2026-11-19 08:23:04 +08:00
2026-11-19 08:23:04 +08:00
2026-11-16 09:58:12 +08:00
2026-11-20 18:20:36 +08:00
2026-11-03 03:05:04 +08:00
2026-11-19 21:10:33 +08:00
2026-11-19 21:10:33 +08:00
2026-11-03 03:05:04 +08:00
2026-11-20 23:14:11 +08:00
2026-11-20 23:14:11 +08:00
2026-11-20 23:14:11 +08:00
2026-11-20 23:14:11 +08:00
2026-11-22 21:36:09 +08:00
2026-11-20 23:14:11 +08:00
2026-11-20 23:14:11 +08:00
2026-11-23 09:50:11 +08:00
2026-11-20 23:14:11 +08:00
2026-11-20 23:14:11 +08:00
2026-11-20 23:14:11 +08:00
2026-11-23 09:50:11 +08:00
2026-11-22 17:20:32 +08:00
2026-11-22 17:20:32 +08:00
2026-11-11 18:02:32 +08:00
2026-11-11 18:02:32 +08:00
2026-11-23 22:45:55 +08:00
2026-11-23 22:45:56 +08:00
2026-11-16 09:58:12 +08:00
2026-11-11 08:58:13 +08:00
2026-11-16 09:58:12 +08:00
2026-11-26 02:38:09 +08:00
2026-11-26 02:38:09 +08:00
2026-11-26 02:41:47 +08:00
2026-11-26 02:41:47 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-26 02:26:05 +08:00
2026-11-14 14:30:19 +08:00
2026-11-26 02:26:05 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-09 22:31:47 +08:00
2026-11-22 02:38:04 +08:00
2026-11-22 02:38:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-17 15:13:51 +08:00
2026-11-23 02:47:44 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-25 19:49:55 +08:00
2026-11-20 23:14:11 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-29 10:40:46 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-29 12:22:41 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-03 03:05:04 +08:00
2026-11-29 12:22:41 +08:00
2026-11-29 12:22:41 +08:00
2026-11-17 15:09:01 +08:00
2026-11-16 15:03:59 +08:00
2026-11-17 13:20:51 +08:00
2026-11-17 22:44:03 +08:00
2026-11-17 22:44:03 +08:00
2026-11-17 22:44:03 +08:00
2026-11-17 15:09:01 +08:00
2026-11-17 13:20:51 +08:00
2026-11-17 15:09:01 +08:00
2026-11-29 12:22:41 +08:00
2026-11-03 22:44:16 +08:00
2026-11-09 02:46:14 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-11 11:37:35 +08:00
2026-11-29 10:40:46 +08:00
2026-11-20 19:19:24 +08:00
2026-11-20 18:57:46 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-29 10:40:46 +08:00
2026-11-29 10:40:46 +08:00
2026-11-22 16:51:14 +08:00
2026-11-20 23:14:11 +08:00
2026-11-03 03:05:04 +08:00
2026-11-16 03:02:43 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-26 10:54:08 +08:00
2026-11-26 10:54:08 +08:00
2026-11-16 09:58:12 +08:00
2026-11-09 02:46:14 +08:00
2026-11-09 02:46:14 +08:00
2026-11-16 09:58:12 +08:00
2026-11-25 22:51:33 +08:00
2026-11-25 22:51:33 +08:00
2026-11-28 11:04:17 +08:00
2026-11-28 11:04:17 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00