docs: Add rp2040 benchmark results to Benchmarks.md

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2021-06-22 00:57:28 -04:00
parent c5667193c9
commit ff5689e9e1
1 changed files with 27 additions and 0 deletions

View File

@ -360,6 +360,32 @@ micro-controller.
| 1 stepper (no delay) | 42 | | 1 stepper (no delay) | 42 |
| 3 stepper (no delay) | 194 | | 3 stepper (no delay) | 194 |
### RP2040 step rate benchmark ###
The following configuration sequence is used on the RP2040:
```
allocate_oids count=4
config_stepper oid=0 step_pin=gpio25 dir_pin=gpio3 invert_step=0
config_stepper oid=1 step_pin=gpio26 dir_pin=gpio4 invert_step=0
config_stepper oid=2 step_pin=gpio27 dir_pin=gpio5 invert_step=0
config_stepper oid=3 step_pin=gpio28 dir_pin=gpio6 invert_step=0
finalize_config crc=0
```
The test was last run on commit `c5667193` with gcc version
`arm-none-eabi-gcc (Fedora 10.2.0-4.fc34) 10.2.0` on a Raspberry Pi
Pico board.
| rp2040 | ticks |
| -------------------- | ----- |
| 1 stepper | 52 |
| 2 stepper | 52 |
| 3 stepper | 52 |
| 4 stepper | 66 |
| 1 stepper (no delay) | 5 |
| 3 stepper (no delay) | 22 |
### Linux MCU step rate benchmark ### ### Linux MCU step rate benchmark ###
The following configuration sequence is used on a Raspberry Pi: The following configuration sequence is used on a Raspberry Pi:
@ -420,6 +446,7 @@ hub.
| sam4s8c (USB) | 650K | 8d4a5c16 | arm-none-eabi-gcc (Fedora 7.4.0-1.fc30) 7.4.0 | | sam4s8c (USB) | 650K | 8d4a5c16 | arm-none-eabi-gcc (Fedora 7.4.0-1.fc30) 7.4.0 |
| samd51 (USB) | 864K | 01d2183f | arm-none-eabi-gcc (Fedora 7.4.0-1.fc30) 7.4.0 | | samd51 (USB) | 864K | 01d2183f | arm-none-eabi-gcc (Fedora 7.4.0-1.fc30) 7.4.0 |
| stm32f446 (USB) | 870K | 01d2183f | arm-none-eabi-gcc (Fedora 7.4.0-1.fc30) 7.4.0 | | stm32f446 (USB) | 870K | 01d2183f | arm-none-eabi-gcc (Fedora 7.4.0-1.fc30) 7.4.0 |
| rp2040 (USB) | 873K | c5667193 | arm-none-eabi-gcc (Fedora 10.2.0-4.fc34) 10.2.0 |
Host Benchmarks Host Benchmarks
=============== ===============