The load testing workbench for high-throughput APIs.
Dual-engine load testing streamed in real-time. Run raw TCP Autocannon sockets or high-precision browser fetch timing with instant percentile histograms, cURL auto-import, and automated SLA regression gates.
Simulates transactional checkout bursts with database connection pool limits.
Twenty testing patterns. One workbench.
Scroll to roll through high-concurrency API testing archetypes.
Performance engineering, packaged as a workbench.
One tool gives your team automated cURL ingestion, dual socket execution engines, and automated SLA regression gates to verify APIs under real load.
Smart cURL Auto-Import
Paste any raw cURL command straight from DevTools, Postman, or your terminal. CannonBench parses headers, formats JSON bodies, and sanitizes authorization tokens instantly.
Raw Sockets & Browser Parity
Toggle directly between raw Node.js TCP sockets via Autocannon streamed over SSE, and browser-native fetch() execution with High-Resolution Resource Timing.
Automated SLA Quality Gates
Define millisecond latency thresholds, error rate tolerances, and minimum throughput. CannonBench automatically calculates SLA verdicts and flags regressions.
From blind load testing to surgical benchmarking.
Scroll down to watch primitive shell scripts evolve into automated regression gates.
Works in the environment you already use.
Run CannonBench as a one-liner command, mount it in Docker, or drop it into CI/CD pipelines to block regressions before production.
npx cannonbench run https://api.acme.com/v1/checkout -c 100 -d 15
CannonBench as a local desktop workbench.
A dedicated load testing studio for high-concurrency microservices. Run tests locally, stream real-time percentile telemetry over SSE, and guarantee 100% privacy with zero outbound data transmission.
Common questions.
Everything you need to know about CannonBench architecture, dual-engine socket parity, and local data privacy.
What is CannonBench and how does it compare to the Autocannon CLI?
CannonBench is an open-source, visual workbench built on top of Autocannon. It provides 100% performance parity with the `npx autocannon` terminal CLI, while adding 1-second real-time streaming telemetry, binned percentile latency histograms, automated SLO assertions, multi-step request chaining, and one-click PDF/HTML report exports—without needing complex Grafana or Prometheus setups.
How does CannonBench achieve raw socket performance inside a browser?
CannonBench utilizes a dual-engine architecture. When you select the Native Engine, the benchmark executes directly on Node.js using unconstrained raw TCP sockets via Server-Sent Events (SSE). This completely bypasses the browser’s RFC 2616 limit of 6 concurrent connections per host, enabling sustained loads of 25 to 500+ concurrent connections.
Can I test internal microservices on localhost and behind a corporate VPN?
Yes, absolutely. Because CannonBench has a Zero-Database architecture and runs directly on your local machine or internal Docker/VPC environment, you can benchmark private microservices, staging environments, and localhost APIs without exposing endpoints or auth tokens to the public internet.
What is the difference between Native Node.js Engine and Browser Edge Engine?
The Native Engine uses Node.js Autocannon for raw TCP socket performance and HTTP pipelining at high concurrency. The Browser Edge Engine uses client-side fetch() with the High-Resolution Resource Timing API, measuring exact real-world end-user latencies, DNS lookups, and browser connection queueing. You can toggle between them depending on your testing goals.
How do automated SLO quality gates work?
You can configure strict Service Level Objective (SLO) thresholds for median p50 latency, tail p99 latency, maximum error rate percentage, and minimum throughput (RPS). At the conclusion of a test, CannonBench automatically evaluates the metrics and provides an instant Pass/Fail gate with root-cause diagnostic advice.
Is CannonBench really 100% free and open-source?
Yes. CannonBench is 100% free under the MIT open-source license. There are no credit limits, no subscription paywalls, and no hidden telemetry tracking. You can self-host it, run it in CI/CD pipelines, or modify it for your team.