Skip to content

v0.13.0

Choose a tag to compare

@github-actions github-actions released this 19 Sep 13:10
· 114 commits to main since this release
217679e

Features

  • Add the daemon, lifecycle commands and a config file.
  • Return structured tool results.
  • Become a bridge to the daemon, allowing agents to control the proxy.
  • Add the daemon control plane.
  • Control the proxy lifecycle and record who changed it.

Bug Fixes

  • Make the lifecycle tests immune to port collisions.
  • Make shutdown mean the daemon is gone.
  • Check the start phase atomically.
  • Render bodies by what they are, not as text.
  • Resolve the proxy binary instead of assuming /target.

新特性

  • 新增守护进程、生命周期命令及配置文件。
  • 返回结构化的工具结果。
  • 成为守护进程的桥接器,允许代理控制代理。
  • 添加守护进程控制平面。
  • 控制代理的生命周期并记录更改者。

问题修复

  • 使生命周期测试免受端口冲突影响。
  • 使关闭操作意味着守护进程已退出。
  • 原子性地检查启动阶段。
  • 根据内容类型渲染响应体,而不是统一作为文本。
  • 解析代理二进制文件而不是假设 /target。
    No benchmarks/results/baseline_v0.13.0.md at this tag.

RelayCore v0.13.0 — Release Performance Report

  • Date: 2026-09-19T13:33:09Z
  • Commit: a8cbb73
  • Mode: release (3 warmup + 5 measurement rounds, 30s each)

Environment

Item Detail
OS macOS 27.0
CPU Apple M4 Max (16 cores)
RAM 64 GB
Rust 1.95.0
Load tool oha 1.15.0
Connections 25
Memory metric rss

Results (S1: 1KB payload)

Metric Mean StdDev Min Max DoD Target Status
Cold start 123.0ms ±4.18 118.0ms 127.0ms <200ms PASS
Idle RSS 58.8MB ±0.45 58.0MB 59.0MB <85MB PASS
Throughput 36394.0 req/s ±2256.92 32778.0 38338.0 >10000 req/s PASS
Success rate 100.0% ±0.0 100.0% 100.0% >=99.0% PASS
P99 Latency 0.81ms ±0.05 0.77ms 0.89ms <20ms PASS

Scenario Results

Scenario Payload Throughput (req/s) P99 (ms) QPS Lat
S1 1KB 36394.0 ±2256.92 0.81 ±0.05 PASS PASS

API Path Latency

Path Result Status
GET /api/v1/flows 0.59ms OK
GET /api/v1/flows/{id} 0ms SKIP
GET /api/v1/events (SSE first event) 0ms WARN

Reproduce

git checkout a8cbb73
./benchmarks/bench_minimal.sh release --runs 5 --warmup-runs 3 --duration 30

Methodology Notes

  • Single-machine constraint: oha (load gen), relay-core (proxy), and the echo server all run on the same machine and compete for CPU. P99 latency is therefore an upper bound — in an isolated setup (separate load-gen machine), P99 typically drops by 50-70%.
  • Cold start: macOS performs code-signing verification and dyld cache warmup on first launch. The first cold-start sample is discarded as a throwaway warmup round; reported values are rounds 2+.
  • RSS on Apple Silicon: M-series chips use 16 KB pages (vs 4 KB on x86_64), which inflates RSS by ~1.5-2× due to page-level fragmentation. Expect ~35-45 MB RSS on x86_64 Linux.
  • DoD thresholds are calibrated for single-machine localhost. See script source for current values.

Reproducibility: For comparable results, use a quiet machine (close browsers and other heavy apps), plug in power (laptop), and match the environment specs above as closely as possible.