Skip to main content
STUB DOCUMENT: This page is intentionally minimal and will be expanded in a future update.
cyberwave edge bench micro-benchmarks the Zenoh SDK hot paths on whichever machine it runs on — header pack, sample decode, stats accounting, sequence numbering — and compares every metric against a baseline shipped for the detected device class. It prints a device fingerprint, a results table with Baseline ops/s / Delta / Status columns, and a PASS/FAIL report card.

When to use it

  • Sanity-check a freshly-provisioned edge device (Jetson, Raspberry Pi, mini-PC) against a known-good reference.
  • Gate merges in CI on reference hardware: the command exits 2 when any metric regresses beyond the threshold.
  • Validate performance after kernel, Python, NumPy, or Zenoh upgrades.

Run it

The device class is auto-detected (jetson-orin-nano, rpi-5, x86-laptop, apple-silicon-m4, …) from /proc/device-tree/model, /etc/nv_tegra_release, sysctl -n machdep.cpu.brand_string (macOS), and platform.machine(). On Apple Silicon the chip generation is parsed from the brand string and emitted as apple-silicon-m1apple-silicon-m4 (Pro / Max / Ultra variants share a tier). Baselines are shipped inside the CLI package, and the loader walks from the specific slug up to a generic fallback — e.g. apple-silicon-m4 tries apple-silicon-m4.jsonapple-silicon.jsongeneric-arm64.json, so new generations degrade gracefully. Use --baseline <path> to override.

Bless a baseline for a new device class

Run the bench on real reference hardware and write a baseline file the CLI will pick up:
The file name must match the device_class slug the fingerprint reports — e.g. apple-silicon-m4.json on an M4 / M4 Pro / M4 Max MacBook. Ship the file inside the CLI package’s bench_baselines/ directory and flip "provisional": false once you’re happy with the numbers. On macOS the --pin flag is a no-op; plug in power, disable Low Power Mode, and close background apps before blessing to avoid thermal throttling.

Key flags

Exit codes

  • 0 — every metric within threshold (or no baseline available).
  • 2 — one or more metrics regressed beyond --threshold.

Edge Overview

Install and manage Cyberwave Edge Core.

Edge Workers

Run ML workers that consume the same Zenoh data plane this bench measures.