Documentation menu

Reference

Benchmark methodology

How Wayline measures and publishes API latency, throughput and accuracy — test setup, workloads, metrics and how to reproduce our numbers.

Updated Dec 1, 2026 View Markdown

We only publish performance or accuracy figures together with the method used to produce them. This page defines that method. No results are published yet; when they are, they will appear here with the date, versions and raw data.

Principles

  • Measure from realistic client locations, not from inside our network.
  • Report percentiles (p50, p95, p99), never only averages.
  • Publish the workload, versions and dates so anyone can reproduce the test.
  • Compare products only on equivalent requests (same points, same profile, no traffic for either side) and disclose differences.

Latency

  • Clients: k6 load generators in at least two US cloud regions, over public internet and HTTPS.
  • Workload: 10,000 origin/destination pairs sampled from road nodes inside each enabled region, stratified by trip length (0–5 km, 5–50 km, 50+ km). Fixed random seed, published with results.
  • Cache: two runs — cold (unique pairs, cache bypassed) and realistic (20% repeated pairs).
  • Metrics: end-to-end latency percentiles, gateway overhead (server timing excluding the routing engine), error rate.
  • Rate: constant arrival rate at 25%, 50% and 100% of plan limits for 10 minutes each after a 2-minute warm-up.

Throughput

Requests per second sustained per gateway instance (2 vCPU) at p99 < 120 ms for /v1/distance in-region, with the routing engine scaled so it is not the bottleneck. Tooling: infra/loadtest in our repository.

Accuracy

Accuracy is compared against ground truth, not against another provider's API: recorded GPS traces of real drives (distance) and their actual durations, matched to the same origin/destination pairs. Free-flow estimates will differ from real drive times in congestion; we report error by time of day.

What we will not do

  • Publish numbers from a single run, a single location or a warm cache only.
  • Compare against competitor APIs in ways their terms prohibit.
  • Present marketing claims without linking to the run that supports them.