How fast is a Raspberry Pi 5?
I recently bought one with 8 GB RAM pictured above. I haven’t got an SSD for it yet so am still pottering about with an SD Card.
I’ve installed VS Code, clang. and Rust along with the VS Code extensions Rust-Analyzer and codelldb.
Out of curiosity I compiled and ran a Rust program that reads in a text file of 1,000 lines of text with each line holding 7 random cards like this: AH 6D 2C 4S JD QH QC.
The idea is to load the file into RAM then process each line and determine the best poker hand.
On my PC 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz (which runs Windows 11), I compared running the Rust program in Windows 11, on Ubuntu 24.04 LTS running in a Hyper-V VM on the same PC and on the Raspberry Pi 5 using it’s own Debian (Bookworm) version.
Here are the times per hand.
- Windows: 175 ns.
- Ubuntu on Hyper-V 125 ns
- Raspberry Pi 5: 175 ns.
You can download the project with the test cards from GitHub. This link is a zip file containing the project file.
To run it in release in VS Code, in the terminal type in
cargo run --release 1000_card_hands.txt
Or you can view the test cards which include the results with commemts in the test file. No need to run it release.
cargo run --features=show_cards test_card_hands.txt![]()
What is so suprising is that the time on Windows and Rapberry Pi 5 are the same. Windows is running a virus checker (Windows Defender) and I guess that might slow it a bit.


I wrote a Poker Hand evaluator. It read in a file of a 1,000 randomly generated sets of seven cards like this AC 8H JC …and figured out what was the best hand. It’s in Rust and on
Development continues with the first game, which is a card game. I know the game as Top Banana, but I think that is the name of a commercial game, so for now the working title is Manana Banana. All it does currently is display the cards and backs as you can see. No photo this time, I learnt how to take snapshots on the phone (Hold down the power and Lower volume buttons at the same time) As it’s plugged in to my PC,. copying it across was not difficult.