Jump to content



Photo
- - - - -

Speed Comparison


  • Please log in to reply
45 replies to this topic

#1 Xerxes

Xerxes

    Casio Freak

  • Members
  • PipPipPipPip
  • 130 posts
  • Gender:Male

Posted 30 December 2006 - 04:50 PM

Calculator Benchmark

#2 eew

eew

    Casio Freak

  • Members
  • PipPipPipPip
  • 139 posts
  • Gender:Female
  • Location:Netherlands

  • Calculators:
    recent calculators:
    Casio fx-9860G SD
    Casio fx-82ms

    old calculators:
    HP 41C (1979)
    TI SR-40 (1976)
    Commodore [unkown type] (-+1970)

Posted 25 January 2007 - 03:08 PM

How fast is the FX-9860G compared to the CFX9850GC plus?

#3 Xerxes

Xerxes

    Casio Freak

  • Members
  • PipPipPipPip
  • 130 posts
  • Gender:Male

Posted 25 January 2007 - 03:57 PM

I do not have a CFX-9850G, but in another thread it takes ~3.6 sec for this prog:

1000->X
Lbl 0
Dsz X
Goto 0

The FX-9860GSD takes ~0.4 sec only, that is 9 times faster. But IMO this test is not convincing enough for a benchmark.

My overall impression of the FX-9860GSD: a real improvement to the predecessor calcs.

#4 eew

eew

    Casio Freak

  • Members
  • PipPipPipPip
  • 139 posts
  • Gender:Female
  • Location:Netherlands

  • Calculators:
    recent calculators:
    Casio fx-9860G SD
    Casio fx-82ms

    old calculators:
    HP 41C (1979)
    TI SR-40 (1976)
    Commodore [unkown type] (-+1970)

Posted 25 January 2007 - 04:08 PM

But it's clear the fx-9860 is much faster than the CFX-9850G.

#5 Guest_Mitiay_*

Guest_Mitiay_*
  • Guests

Posted 12 February 2007 - 02:38 PM

I guess "turbo" mean overclocking, right?
What hardware changes does it require?

#6 Xerxes

Xerxes

    Casio Freak

  • Members
  • PipPipPipPip
  • 130 posts
  • Gender:Male

Posted 12 February 2007 - 09:56 PM

You are right.

It depends on the calculators hardware. There are 2 possibilities:

-changing the ceramic resonator or quartz, e.g. FX-603P.

-changing a resistor or capacitor, e.g. FX-602P.

If you have tested the benchmark on a calculator you cannot find in the list, more results are welcome.

#7 Guest_Sergei Frolov_*

Guest_Sergei Frolov_*
  • Guests

Posted 13 February 2007 - 05:23 AM

I guess, this test is very strange (mixed plain assembler and calculator's interpreter).
Where sines, logarithms, other complex functions and also floating point arithmetic when calculator operate with full-length mantissa?

#8 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 13 February 2007 - 01:20 PM

Hi,

I have tested my fx-7300G with your fx-7000G program: 71.0 seconds exactly

#9 Crazio

Crazio

    Newbie

  • Members
  • Pip
  • 27 posts
  • Location:Finland, Espoo

  • Calculators:
    fx-9860G, fx-9860G SD

Posted 13 February 2007 - 01:45 PM

I made a bomb program to my Casio fx-9860G. It counts seconds down to zero and when at zero it prints "BOOM". I got a clock working by making a for->next loop and forcing it to replay it 1850 times:

For 1->Z To 1850
Next

It made through this in one second, so I got a nice working timer. :D In theory boosting my processor would make the timer faster, but I have no intention to do that.

#10 Xerxes

Xerxes

    Casio Freak

  • Members
  • PipPipPipPip
  • 130 posts
  • Gender:Male

Posted 13 February 2007 - 04:36 PM

@Sergei:

This test is for non mathematical problems, like tools, games and etc. to see the differences of the calculators and languages.

I have also thought about a mathematical benchmark, but it is difficult to find a accurate way for comparing, however I'm working on it.


@Guest:

Thanks for testing. I have updated the table with your calculator.


@Crazio:

The FX-9860G is a very fast calculator in comparison. In the table it's the fastest calculator not using integers, so the intention to speed it up is not so great. But don't forget, there are many examples that your calculator cannot be fast enough. ;)

#11 Guest_Mitiay_*

Guest_Mitiay_*
  • Guests

Posted 16 February 2007 - 09:41 PM

Some benchmark results:

FX-602P 466 seconds
fx-4800P 124 seconds
fx-6300G 141 seconds
fx-6500G 129 seconds
fx-7400G 125 seconds

Both Sharp EL-5120 and Citizen SRP-350 don't support arrays of any kind. In fact, it is possible to program a 8-Queens problem on these calculators, but formulas like Int(10Frac(A/10^X)) instead of A× will lead to a very slow execution.

#12 Xerxes

Xerxes

    Casio Freak

  • Members
  • PipPipPipPip
  • 130 posts
  • Gender:Male

Posted 18 February 2007 - 12:13 AM

Thank you for testing. I updated the Casio versions of the benchmark a few hours before you have posted your results because of a mistake. I hope you have tested the correct version, sorry if not.

Interesting is the FX-602P compared to FX-603P. It's a pity to not have a FX-502P in the list now.

I like the FX-5800P, but the speed is a bit disappointing, if I look at the result of the FX-4800P.

I agree that the formula method of array handling to test the Sharp is much to slow.

#13 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 18 February 2007 - 01:12 PM

FX-7300G 68.3 seconds

#14 Guest_Mitiay_*

Guest_Mitiay_*
  • Guests

Posted 18 February 2007 - 08:25 PM

Updated results:

FX-602P 465 seconds
fx-4800P 121 seconds
fx-6300G 135 seconds
fx-6500G 121 seconds

#15 Xerxes

Xerxes

    Casio Freak

  • Members
  • PipPipPipPip
  • 130 posts
  • Gender:Male

Posted 18 February 2007 - 10:00 PM

Thank you both for correcting results.

The speed of FX-7300P is really outstanding in comparison to the other 8-bit calculators. I guess the AFX is slower too.

@Mitiay:
The FX-602P can be speeded up to factor 3 by changing a resistor. The FX-602P turbo is as fast as the FX-603P.

#16 Guest_Mitiay_*

Guest_Mitiay_*
  • Guests

Posted 07 March 2007 - 08:16 PM

Benchmark results for Casio fx-8800G:

First of all, instead of executong a Dsz{Letter}[{Expression}] command, this calculator allways does Isz{Letter}[{Expression}]. This bug doesn't affect simple Dsz{Letter} command (or at least I haven't noticed it :) ). So I had to rewrite the program to avoid this bug. New program takes more space, which caused slower execution, but greater execution time is not only due to the larger program. You may test the rewritten program and notice that it runs fater on other graphical Casios:

Mcl
8->R
Lbl 0
X=R=>Goto 4
Isz X
-R->A×
Lbl 1
Isz S
X->Y
Lbl 2
Dsz Y
Deg
Y=0=>Goto 0
A×-A[Y]->T
T=0=>Goto 3
X-Y<>Abs T=>Goto 2
Lbl3
Isz A× (or Dsz A× - it does the same thing :( )
Goto 1
Dsz X
Goto 3
Lbl 4
S

Execution time is 148.5 seconds. ROM checksum of my calculator is 014A621A.

#17 Xerxes

Xerxes

    Casio Freak

  • Members
  • PipPipPipPip
  • 130 posts
  • Gender:Male

Posted 07 March 2007 - 10:34 PM

An interesting bug of this calc. I have checked your rewritten program with the FX-7000GA turbo. Instead of 43.8 it takes 44.0 sec for executing. So I think it is ok to take the FX-8800G to the table with 147 sec. Note that on some calcs Dsz and Isz are only allowed with A~Z. So you have found a accurate way to avoid that bug. :)

If you have noticed, a structured version is now available for testing languages without goto or if faster, but only the FX-9860G ist faster now. I have tested the FX-5800P (264 vs 227 sec) and TI-85 (150 vs 113 sec) also, but as you can see both are slower. May be the TI-89 or TI-V200 are faster.

#18 eew

eew

    Casio Freak

  • Members
  • PipPipPipPip
  • 139 posts
  • Gender:Female
  • Location:Netherlands

  • Calculators:
    recent calculators:
    Casio fx-9860G SD
    Casio fx-82ms

    old calculators:
    HP 41C (1979)
    TI SR-40 (1976)
    Commodore [unkown type] (-+1970)

Posted 18 March 2007 - 11:42 AM

I see there is no HP-41C in your list, only a HP-41CV and a HP41CX, I (or my dad) own a HP-41C but i can't take over the HP-41CV program, I don't know what y<>x means, and I can't find some command's. Is there somone who can help me whit this?

#19 Menno

Menno

    Casio Freak

  • Members
  • PipPipPipPip
  • 184 posts
  • Gender:Male
  • Location:Netherlands

  • Calculators:
    Casio 880P
    Casio Graph 25+
    Casio fx-9860g sd

Posted 18 March 2007 - 01:18 PM

I see there is no HP-41C in your list, only a HP-41CV and a HP41CX, I (or my dad) own a HP-41C but i can't take over the HP-41CV program, I don't know what y<>x means, and I can't find some command's. Is there somone who can help me whit this?


y<>x means y is not equal to x like y!=x

#20 eew

eew

    Casio Freak

  • Members
  • PipPipPipPip
  • 139 posts
  • Gender:Female
  • Location:Netherlands

  • Calculators:
    recent calculators:
    Casio fx-9860G SD
    Casio fx-82ms

    old calculators:
    HP 41C (1979)
    TI SR-40 (1976)
    Commodore [unkown type] (-+1970)

Posted 18 March 2007 - 01:20 PM

That mean's I have to read a huge manual, to find dat function?

#21 Xerxes

Xerxes

    Casio Freak

  • Members
  • PipPipPipPip
  • 130 posts
  • Gender:Male

Posted 19 March 2007 - 11:35 AM

It's a bit strange how to type in this command:

XEQ ALPHA 6 SHIFT SIN multiply 3 ALPHA

gives X<>Y?

If you want to test the speed, run the program by pressing

XEQ ALPHA SIGMA+ ALPHA

for about 10 seconds and then interrupt the execution by pressing R/S.

Now start executing again for measurement.

#22 eew

eew

    Casio Freak

  • Members
  • PipPipPipPip
  • 139 posts
  • Gender:Female
  • Location:Netherlands

  • Calculators:
    recent calculators:
    Casio fx-9860G SD
    Casio fx-82ms

    old calculators:
    HP 41C (1979)
    TI SR-40 (1976)
    Commodore [unkown type] (-+1970)

Posted 19 March 2007 - 04:10 PM

SIGMA+???

Why?

#23 eew

eew

    Casio Freak

  • Members
  • PipPipPipPip
  • 139 posts
  • Gender:Female
  • Location:Netherlands

  • Calculators:
    recent calculators:
    Casio fx-9860G SD
    Casio fx-82ms

    old calculators:
    HP 41C (1979)
    TI SR-40 (1976)
    Commodore [unkown type] (-+1970)

Posted 19 March 2007 - 04:30 PM

Ive done somthing wrog, after a vieuw secondes it beepes and output 8. No I can start again.

#24 Xerxes

Xerxes

    Casio Freak

  • Members
  • PipPipPipPip
  • 130 posts
  • Gender:Male

Posted 19 March 2007 - 04:41 PM

XEQ ALPHA SIGMA+ ALPHA

means execute program at label A.

Why start again? You can edit the program.

#25 eew

eew

    Casio Freak

  • Members
  • PipPipPipPip
  • 139 posts
  • Gender:Female
  • Location:Netherlands

  • Calculators:
    recent calculators:
    Casio fx-9860G SD
    Casio fx-82ms

    old calculators:
    HP 41C (1979)
    TI SR-40 (1976)
    Commodore [unkown type] (-+1970)

Posted 19 March 2007 - 04:45 PM

I'am not realy good white that calculator it's from far before my time.

SIGMA+ doesn't work.

#26 Xerxes

Xerxes

    Casio Freak

  • Members
  • PipPipPipPip
  • 130 posts
  • Gender:Male

Posted 19 March 2007 - 04:55 PM

Turn the calculator off and after a few seconds on. Now type

SHIFT EEX R/S


If your German is better than English:

Mit SIGMA+ ist nat?rlich nicht die Funktion, sondern das darunter stehende A gemeint. Also nach dr?cken von ALPHA erscheint ein A im Display wenn du SIGMA+ dr?ckst. Falls du nicht weiter kommst, kannst du mich auch in Deutsch fragen oder anmailen.

#27 Xerxes

Xerxes

    Casio Freak

  • Members
  • PipPipPipPip
  • 130 posts
  • Gender:Male

Posted 30 March 2007 - 10:27 PM

For those are interested in the beginning of the programmable calculators. I have updated the table with some new results:

The first Basic programmable calculator from Casio the FX-702P (1981).

The first programmable LCD calculator from Casio the FX-502P (1979). I guess the FX-502P is the fastest calculator of its time for this benchmark. Well done Casio.

#28 Mikael

Mikael

    Newbie

  • Members
  • Pip
  • 24 posts
  • Gender:Male

  • Calculators:
    fx-9860G Slim, TI-89, fx-82 Solar

Posted 09 April 2007 - 12:26 PM

Hmm... My TI-89 (HW2, 12MHz) seems to have failed miserably. 180 seconds to run the TI-V200 BASIC program. I'll have to try my Casio CFX-9850GB Plus later.

EDIT: Okay, changed how it handles results (approximate -> auto) and the time went down to 108 seconds.

EDIT2: Damn! Can't get the FX-9860GSD program to work on my CFX-9850GB Plus. I get a syntax error at the IfEnd and I can't seem to find anything wrong with the program. What's going on?

#29 Xerxes

Xerxes

    Casio Freak

  • Members
  • PipPipPipPip
  • 130 posts
  • Gender:Male

Posted 09 April 2007 - 09:47 PM

For a better overview I indented the listing of the FX-9860GSD first, but to avoid errors I have changed it to the normal view how it is displayed on the calculator. May be this is the reason for the syntax error. Before executing it is necessary to create the Matrix A[8,1]. In a few days I have the opportunity to test the CFX-9850GB+, so I will check the problem. Thanks for testing and your advice.

#30 Mikael

Mikael

    Newbie

  • Members
  • Pip
  • 24 posts
  • Gender:Male

  • Calculators:
    fx-9860G Slim, TI-89, fx-82 Solar

Posted 10 April 2007 - 06:44 PM

I looked at the program in my calc again and stepped through it line-by-line and it's identical to what you've written. I still get the syntax error. I just can't find anything that would cause an error like this. I'll continue looking and report if I find the error.

#31 eew

eew

    Casio Freak

  • Members
  • PipPipPipPip
  • 139 posts
  • Gender:Female
  • Location:Netherlands

  • Calculators:
    recent calculators:
    Casio fx-9860G SD
    Casio fx-82ms

    old calculators:
    HP 41C (1979)
    TI SR-40 (1976)
    Commodore [unkown type] (-+1970)

Posted 10 April 2007 - 06:48 PM

I can't get te fx-9860 program on a fx-9860 :unsure:

#32 Xerxes

Xerxes

    Casio Freak

  • Members
  • PipPipPipPip
  • 130 posts
  • Gender:Male

Posted 10 April 2007 - 07:25 PM

@Mikael:
I looked at the program too, but I cannot find a bug. May be the program itself is not the problem but the Casio-Basic interpreter causes the problem. I will check it and post the solution.

@eew:
Can you explain the problem on the FX-9860G? If you check the program length, it has to be 196 bytes. One reason may be the unequal sign represented by "<>" in the code, but in the program editor its a combination of "/" and "=" not representable in ASCII.

#33 eew

eew

    Casio Freak

  • Members
  • PipPipPipPip
  • 139 posts
  • Gender:Female
  • Location:Netherlands

  • Calculators:
    recent calculators:
    Casio fx-9860G SD
    Casio fx-82ms

    old calculators:
    HP 41C (1979)
    TI SR-40 (1976)
    Commodore [unkown type] (-+1970)

Posted 10 April 2007 - 07:27 PM

No, i don't know exaclty what's wrong. I have not looked at it for af very long time.

#34 tutti

tutti

    Casio Addict

  • Members
  • PipPipPip
  • 65 posts

  • Calculators:
    FX-9860G SD

Posted 10 April 2007 - 07:31 PM

Mat A[X,1]-1->Mat A[X,1]
WhileEnd
IfEnd
WhileEnd
LpWhile Y<>1


If you remove the first WhileEnd, it'll run fine, but the last three results will be negative, which I guess isn't right...

#35 Xerxes

Xerxes

    Casio Freak

  • Members
  • PipPipPipPip
  • 130 posts
  • Gender:Male

Posted 10 April 2007 - 08:45 PM

For sure not, because the values in the matrix A represent the position of the queens on chess board. Have you test it on a FX-9860G or another calculator?

#36 tutti

tutti

    Casio Addict

  • Members
  • PipPipPip
  • 65 posts

  • Calculators:
    FX-9860G SD

Posted 10 April 2007 - 09:40 PM

Not the FX-9860G SD, though. Or at least, mine doesn't.

#37 Xerxes

Xerxes

    Casio Freak

  • Members
  • PipPipPipPip
  • 130 posts
  • Gender:Male

Posted 10 April 2007 - 09:59 PM

@CFX Master:
Thanks for clarification. This is a really big bug, that dosn't allow structured programming without complications.

I guess the FX-9860G has different ROM-Versions, because the benchmark is executable on my FX-9860GSD.

#38 Xerxes

Xerxes

    Casio Freak

  • Members
  • PipPipPipPip
  • 130 posts
  • Gender:Male

Posted 11 April 2007 - 09:24 PM

Good to know. In this case I will test the CFX-9850GB+ with the unstructured version to avoid this problem.

#39 tutti

tutti

    Casio Addict

  • Members
  • PipPipPip
  • 65 posts

  • Calculators:
    FX-9860G SD

Posted 11 April 2007 - 10:17 PM

Huh. Yes, I did do something wrong, and it ran fine when I corrected it =/

Anyway, it took quite a few seconds, but it eventually returned 876. Also, Mat A=[[8,4,1,3,6,2,7,5]]... is that right? :3

EDIT: Nevermind, it is :)

#40 Mikael

Mikael

    Newbie

  • Members
  • Pip
  • 24 posts
  • Gender:Male

  • Calculators:
    fx-9860G Slim, TI-89, fx-82 Solar

Posted 11 April 2007 - 10:21 PM

Good to know. In this case I will test the CFX-9850GB+ with the unstructured version to avoid this problem.

Well, I took the liberty of rewriting the FX-9860G BASIC program to something that will run correctly on the CFX-9850GB+. It required just a few small changes (I've put them in bold). This program will run slightly slower than what the original program would, due to an extra If clause. Shouldn't affect the times much, though. There might be a smarter way to rewrite the program, but this is what I came up with after a quick check.

The time needed for a CFX-9850GB+ to execute this program is 141 seconds. That's actually not that slow. For comparison, the TI-89 made it in 108s, which is less of a difference than one might expect. Then again, the TI graphs between two and five times faster (at higher resolution), so this test is probably more of a BASIC interpreter test than a hardware test.

The modified program:

0->A~Z
8->R
Do
Isz X
R->Mat A[X,1]
Do
Isz S
X->Y
If Y>1
Then Do
(*These two rows replace the original While Y>1.*)
Dsz Y
Mat A[X,1]-Mat A[Y,1]->T
If T=0 Or X-Y=Abs T
Then 0->Y
Mat A[X,1]-1->Mat A[X,1]
While Mat A[X,1]=0
Dsz X
Mat A[X,1]-1->Mat A[X,1]
WhileEnd
IfEnd
LpWhile Y>1
IfEnd
(*These two rows replace the original WhileEnd.*)
LpWhile Y<>1
LpWhile X<>R
S




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users