#graphics #display #embedded #drivers

embedded-counters

Performance counters for embedded driver benchmarking

3 releases

0.1.2 Jul 22, 2021
0.1.1 Jul 22, 2021
0.1.0 Jul 22, 2021

#1395 in Hardware support

MIT/Apache

6KB
102 lines

Embedded Counters

Library that provided embedded-hal implementations for benchmarking transfer performance for drivers.

!WARNING! Experimental

This crate is still very experimental. The API, in particular the serialization/display aspect will probably change a lot.

Usage

Drivers such as ST7789 can gauge performance on host platforms by counting transfers over SPI, I2C or other embedded-hal abstracted interfaces.

Use the provided structures in stead of real abstractions with your driver implementation to get byte, call and delay counts of your driver given a specific operation.

Examples

  • st7789 - basic shapes drawing benchmark

Dependencies

~0.5–1MB
~24K SLoC