Thing Done

← The fleet

Pi Pico

Cortex-M0+ (RP2040) · Arm Cortex-M · 200 MHz

Pi Pico
Board
Pi Pico
Core
Cortex-M0+ (RP2040)
Clock
200 MHz
float / double
32-bit / 64-bit
uint8_t add
13.5 M/s
rank 3 of 16 · 73.8 ns
uint32_t add
11.3 M/s
rank 8 of 16 · 88.9 ns
uint32_t divide
5.14 M/s
rank 9 of 16 · 194 ns
float multiply
2.45 M/s
rank 11 of 16 · 408 ns
Cycles per uint32 add
17.8 cycles
rank 8 of 16 — the clock-independent number

What every operation costs

Every numeric type, all five operations, as clock cycles per operation: the shape of this part's cost independent of its clock. The bars are the story of where it falls off a cliff — divide, 64-bit, floating point.

The same cells as nanoseconds per operation, median of three samples. Darker is slower; the small number is this board's rank in the fleet for that cell (1 = fastest of 16).

AddSubtractMultiplyDivideModulo
uint8_t 73.8 ns #3 of 16 68.8 ns #3 of 16 78.8 ns #5 of 16 209 ns #10 of 16 209 ns #10 of 16
uint16_t 93.9 ns #8 of 16 93.9 ns #8 of 16 88.9 ns #7 of 16 210 ns #10 of 16 210 ns #10 of 16
uint32_t 88.9 ns #8 of 16 88.9 ns #8 of 16 83.8 ns #7 of 16 194 ns #9 of 16 194 ns #9 of 16
uint64_t 155 ns #9 of 14 165 ns #10 of 14 320 ns #10 of 14 498 ns #2 of 14 498 ns #2 of 14
float 463 ns #11 of 16 499 ns #11 of 16 408 ns #11 of 16 498 ns #8 of 16 878 ns #8 of 16
double 625 ns #6 of 16 675 ns #7 of 16 982 ns #9 of 16 1.08 µs #6 of 16 1.36 µs #6 of 16

In the fleet

Head to head