diff --git a/Teensybenchmark.png b/Teensybenchmark.png new file mode 100644 index 0000000..7cc9e98 Binary files /dev/null and b/Teensybenchmark.png differ diff --git a/teensybenchmark.jl b/teensybenchmark.jl new file mode 100644 index 0000000..06b5031 --- /dev/null +++ b/teensybenchmark.jl @@ -0,0 +1,33 @@ +using Plots + +theme(:juno) + +table = [ + ("Teensy 4.1*", 2314), + ("Teensy 3.6", 440.72), + ("Sparkfun ESP32", 351.33), + ("Adafruit HUZZAH 32", 351.35), + ("Teensy 3.5", 265.50), + ("Adafruit Metro M4", 214.85), + ("Teensy 3.2", 168.62), + ("Arduino Due", 94.95), + ("Arduino Zero", 56.86), + ("Arduino Nano", 8.20), + ("Arduino Mega", 7.03), +] + + +names = [row[1] for row in table] +performances = [row[2] for row in table] + +let + bar( + names, + performances, + xrotation = 45, + label = "CoreMark Performance\nLarger is better", + ) + title!("Performance of Common Microcontrollers") +end + +savefig("Teensybenchmark.png")