Benchmarking Compute Hardware for ROS 2: Latency, Throughput, Power

A plain-language guide to benchmarking CPUs, GPUs and FPGAs for ROS 2 robots with latency, throughput and power, black-box and gray-box tests and replayed bags.

In this article

  • What a benchmark actually is
  • Two kinds of performance testing
  • The three numbers: latency, throughput, power
  • Black box and gray box measurement
  • How tracing gives you gray-box data
  • Why a common baseline matters
  • Reproducibility: the data has to be shareable
  • A worked example (illustrative numbers)
  • Reading results across many metrics
  • Common mistakes
  • Where this does not reach
  • Checklist