posted by Thom Holwerda on Sat 30th Jun 2018 21:37 UTC
Icon

It's well-known that you should measure the performance of your code, and not rely only on the opcode's "cycle counts".

But how fast is an IBM PC 5150 compared to a PCjr? Or to a Tandy 1000? Or how fast is the Tandy 1000 HX in fast mode (7.16Mhz) compared to the slow mode (4.77Mhz)? Or how fast is a nop compared to a cwd?

I created a test (perf.asm) that measures the performance of different opcodes and run it on different Intel 8088 machines. I run the test multiple times just to make sure the results were stable enough. All interrupts were disabled, except the Timer (of course). And on the PCjr the NMI is disabled as well.

There's no point in any of these benchmarks, but that doesn't make them any less interesting.


e p (3)    9 Comment(s)

Technology White Papers

See More