• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

floatdrop / zoxy / 28717130404
96%

Build:
DEFAULT BRANCH: main
Ran 04 Jul 2026 07:28PM UTC
Jobs 1
Files 33
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Jul 2026 07:26PM UTC coverage: 96.32% (+0.03%) from 96.293%
28717130404

push

github

floatdrop
bench: pin cores + read h2load -m1 as latency, not throughput

The h2load switch surfaced a scary 626k(direct) vs 188k(proxied) req/s.
It was a measurement artifact, not a zoxy regression:

- -m1 is closed-loop (1 req/conn), so req/s = conns/mean-latency — it
  measures LATENCY. A proxy adds a hop, so proxied req/s drops by
  construction; on loopback there is no RTT to hide the ~11us hop behind.
- The default run oversubscribed CPU: zoxy spawns one worker per visible
  CPU, so 8 zoxy + 4 nginx + 4 h2load = 16 hot threads on 8 cores while
  the direct baseline ran only 8. That alone inflated the hop 2-3x.

Fixes to the script:
- taskset each role to disjoint cores (origin smallest — canned 200;
  proxy + generator split the rest). zoxy is sized by its visible-CPU
  count, so taskset both pins and sizes it. Same origin/gen cores in
  every run, so the only variable is the hop.
- sample zoxy's per-run CPU via /proc/PID/stat and print it — headroom
  proves the loop is latency-bound, not saturated.
- quiet h2load to the throughput line, request tally (failed/errored
  tripwire), and latency table; add a "reading the result" note.

Pinned 2/3/3 on the 8-core box: 323k direct vs 213k proxied (~1.5x),
zoxy 119% of 300% available, 99.99% upstream reuse, 0 errors.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

10887 of 11303 relevant lines covered (96.32%)

0.96 hits per line

Coverage Regressions

Lines Coverage ∆ File
72
94.53
0.0% net/h2_proxy.zig
Jobs
ID Job ID Ran Files Coverage
1 28717130404.1 04 Jul 2026 07:28PM UTC 33
96.32
GitHub Action Run
Source Files on build 28717130404
  • Tree
  • List 33
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28717130404
  • 77304b82 on github
  • Prev Build on main (#28716593661)
  • Next Build on main (#28717688477)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc