Skip to content

Benchmarks: benchlab ​

Measurements and the core compatibility matrix (ours, sing-box, Xray-core, tachyon-core; --mode perf and --mode compat) live in the separate repository janeblower/benchlab. Clone it next to this checkout (../benchlab): it builds ours from ../ours by default; set OURS_REPO if your checkout lives elsewhere. Its README.md describes the stand, cases and options; local/ holds focused measurements outside the matrix (startup and RSS, UDP CPU per GB, a tproxy gateway between namespaces).

Conditions for a comparable measurement ​

  • Measure final release binaries and record their SHAs.
  • Give every core the same options and topology.
  • Run nothing else on the bench: no builds, no Docker, no other load.
  • Warm up explicitly and check every payload.
  • Take at least three alternating pairs; report medians and spread.
  • Count the process's CPU apart from the host's softirq.

GPL-3.0-or-later