PDP-11 benchmark
When you run it, you'll see after 10 seconds a value in hex: that's the number of iterations it could do in 10 seconds. It expects a working kw11-l in the system.
If you like you can assemble the source with e.g. this assembler. You can also run the .bin-file directly in e.g. simh like this:
load benchmark.bin go
- benchmark.asm source code
- benchmark.bin bare metal image to be loaded at 01000 and executed from that address as well
results
| cpu | emulator or system | speed |
|---|---|---|
| i5-11400H | simh v3.8-1 | 3900f908 (hex) - 956365064 (dec) |
| Macbook Air M3 | simh v3.12-2 | 3500ed7d (hex) - 889253245 (dec) |
| i5-11400H | Kek a9a6893 | 1200a455 (hex) - 302031957 (dec) |
| Raspberry Pi 5 | simh v3.8-1 | a00959c (hex) - 167810460 (dec) |
| i5-11400H | NWebber/PyPy 485cdcc | 5001772 (hex) - 83892082 (dec) |
| Raspberry Pi 4 | simh v3.8-1 | 5000e76 (hex) - 83889782 (dec) |
| Raspberry Pi 2 | simh v3.8-1 | 100d61a (hex) - 16832026 (dec) |
Note: when I have data of a real PDP11 system then I'll add percentages.
example output
