© 2021, 2024 by Zack Smith. All rights reserved.
About my general purpose benchmark
zBenchmark is a general purpose benchmark that I wrote in C++ and which uses the Qt6 library to provide a GUI.
I intended it to mainly run on Linux but because both C++ and Qt are platform-agnostic it could potentially run on Windows and MacOS as well.
A single combined score
zBenchmark provides a single combined score
to indicate the overall performance of your system,
which is simply a sum of all the individual scores from
the tests it performs.
The standard against which your system is compared, and which naturally has score of 1.0, is the quad-core Raspberry pi 4b running 64-bit Raspbian (i.e. Debian) at 1.8 GHz.
What tests does it perform?
Currently zBenchmark measures the performance of each of the following:
| Test | Underlying code |
|---|---|
| AES encryption/decryption | openssl |
| Audio compression | lame producing mp3 |
| Big number floating-point math | bc |
| C code compilation | clang |
| CPU raytracing | povray |
| Disk read/write speed | C++ |
| Fibonacci with 1-megabit numbers | C++ and asm |
| File compression | gzip, bzip2, zip, 7z |
| Floating-point tests | C++ |
| Image manipulation | QImage |
| Memory bandwidth | C++ and asm |
| Prime number generation | C++ and asm |
| SHA-2 hashing | openssl |
| Video encoding | ffmpeg producing h264/mp4 |
Download
Latest changes:
- Fixed installation issues with
gnuplot - Updated the code for Qt 6.
- Added x86_64 assembly language routines.
Cloudflare's free hosting plan doesn't offer enough free storage to allow uploading zBenchmark.
Results
| Computer | Speed | Score |
|---|---|---|
| Raspberry Pi 4 Model B | 1.8 GHz | 1.00 |
| Macbook Pro 13 2014 Core i5-4278U | 3.1 GHz | 8.8 |
Screenshots
Memory bandwidth
System information

