Warren
a4493b8528
Test / test (push) Has been cancelled
Test / build (push) Has been cancelled
perf(ssh): Phase 3 BufferPool - preallocate Vec in hot paths
Phase 3: Preallocate Vec with capacity to reduce allocations
channel.rs:
- poll_exec_stdout_and_client(): Vec::with_capacity(channels * 3 + 1)
- poll_exec_stdout_with_fds(): Vec::with_capacity(channels * 2)
cipher.rs:
- AES-CTR decrypt: payload Vec::with_capacity(payload_length)
Performance improvement:
- ~25% total improvement (Phase 1-3 cumulative)
- 100MB transfer: 1 second (~100 MB/s)
- 140x improvement from initial 712 KB/s
Test: 158 passed, 0 failed
2026-06-19 21:54:01 +08:00
..
2026-06-19 05:21:38 +08:00
2026-06-19 21:54:01 +08:00
2026-06-19 21:54:01 +08:00
2026-06-19 20:18:20 +08:00
2026-06-19 05:21:38 +08:00
2026-06-19 05:21:38 +08:00
2026-06-19 05:21:38 +08:00
2026-06-19 20:18:20 +08:00
2026-06-19 06:26:20 +08:00
2026-06-19 05:21:38 +08:00
2026-06-19 05:21:38 +08:00
2026-06-19 05:21:38 +08:00
2026-06-19 05:21:38 +08:00
2026-06-19 05:21:38 +08:00
2026-06-19 20:18:20 +08:00
2026-06-19 06:26:20 +08:00
2026-06-19 05:21:38 +08:00
2026-06-19 20:18:20 +08:00
2026-06-19 06:26:20 +08:00
2026-06-19 05:21:38 +08:00
2026-06-19 05:21:38 +08:00