mirror of
https://gitlab.com/lander-team/plots.git
synced 2025-06-15 14:36:40 +00:00
teensy plot
This commit is contained in:
parent
fc785f7751
commit
f755449b4a
BIN
Teensybenchmark.png
Normal file
BIN
Teensybenchmark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
33
teensybenchmark.jl
Normal file
33
teensybenchmark.jl
Normal file
@ -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")
|
Loading…
x
Reference in New Issue
Block a user