Benchmarking

I found these interesting pages with some bechmarking data for old computers (with a program in BASIC):

Elektronika MK-92 with MK-90

My problem is that the BASIC on the Elektronika MK-90 cannot handle 500-member field so I have to limit the W to 250 (the original code has W=500). Unfortunately, it made my results directly incomparable with the published ones. I also have to slightly modify the BASIC code:

10 LET W=250: DIM F(W):LET P=1:LET A=3 
20 LET F(P)=A:LET P=P+1:IF P>W THEN STOP 
30 LET A=A+2:LET X=1 
40 LET S=A/F(X):IF S=INT(S) THEN 30 
50 LET X=X+1:IF X>=P THEN 60
51 IF F(X)*F(X)<=A THEN 40 
60 GOTO 20

So my times are:

  • Elektronika MK-90, build-in BASIC: 492 s
  • SGI O2, Bywater BASIC: 12 s

By the way, the original test was mean for home 8bit computers but MK-90 is 16bit and O2’s MIPS CPU is of course 64bit…

Advertisements
Benchmarking