From a344f6d2ad5258e1e58722bd6b63d8f993e36548 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 6 Sep 2019 13:24:20 -0400 Subject: [PATCH] docs: Update AVR benchmarks to use gcc v5.4.0 Current versions of OctoPi ship with avr-gcc v5.4.0, so update the benchmarks to use that version. Signed-off-by: Kevin O'Connor --- docs/Benchmarks.md | 10 +++++----- docs/Features.md | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/Benchmarks.md b/docs/Benchmarks.md index 5d1f0d57..8c8d8f72 100644 --- a/docs/Benchmarks.md +++ b/docs/Benchmarks.md @@ -92,13 +92,13 @@ config_stepper oid=2 step_pin=ar23 dir_pin=ar22 min_stop_interval=0 invert_step= finalize_config crc=0 ``` -The test was last run on commit `b161a69e` with gcc version `avr-gcc -(GCC) 4.8.1`. Both the 16Mhz and 20Mhz tests were run using simulavr +The test was last run on commit `01d2183f` with gcc version `avr-gcc +(GCC) 5.4.0`. Both the 16Mhz and 20Mhz tests were run using simulavr configured for an atmega644p (previous tests have confirmed simulavr results match tests on both a 16Mhz at90usb and a 16Mhz atmega2560). On both 16Mhz and 20Mhz the best single stepper result is `SET ticks -106`, the best dual stepper result is `SET ticks 276`, and the best -three stepper result is `SET ticks 481`. +104`, the best dual stepper result is `SET ticks 269`, and the best +three stepper result is `SET ticks 472`. ### Arduino Due step rate benchmark ### @@ -306,7 +306,7 @@ class machine with the device connected via a high-speed hub. | stm32f042 (CAN) | 18K | c105adc8 | arm-none-eabi-gcc (GNU Tools 7-2018-q3-update) 7.3.1 | | atmega2560 (serial) | 23K | b161a69e | avr-gcc (GCC) 4.8.1 | | sam3x8e (serial) | 23K | b161a69e | arm-none-eabi-gcc (Fedora 7.1.0-5.fc27) 7.1.0 | -| at90usb1286 (USB) | 75K | 01d2183f | avr-gcc (GCC) 4.8.1 | +| at90usb1286 (USB) | 75K | 01d2183f | avr-gcc (GCC) 5.4.0 | | samd21 (USB) | 223K | 01d2183f | arm-none-eabi-gcc (Fedora 7.4.0-1.fc30) 7.4.0 | | stm32f103 (USB) | 355K | 01d2183f | arm-none-eabi-gcc (Fedora 7.4.0-1.fc30) 7.4.0 | | sam3x8e (USB) | 418K | 01d2183f | arm-none-eabi-gcc (Fedora 7.4.0-1.fc30) 7.4.0 | diff --git a/docs/Features.md b/docs/Features.md index ccaa0117..f958e008 100644 --- a/docs/Features.md +++ b/docs/Features.md @@ -131,8 +131,8 @@ represent total number of steps per second on the micro-controller. | Micro-controller | Fastest step rate | 3 steppers active | | ------------------------------- | ----------------- | ----------------- | -| 16Mhz AVR | 151K | 100K | -| 20Mhz AVR | 189K | 125K | +| 16Mhz AVR | 154K | 102K | +| 20Mhz AVR | 192K | 127K | | Arduino Zero (SAMD21) | 234K | 217K | | "Blue Pill" (STM32F103) | 395K | 356K | | Arduino Due (SAM3X8E) | 438K | 438K |