The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Informal Benchmark HW C vs HW D
10-04-2018, 10:21 AM (This post was last modified: 10-04-2018 10:23 AM by toml_12953.)
Post: #1
Informal Benchmark HW C vs HW D
I finally got my Prime G2. Thanks, De Rekenwinkel!

Of course, I had to benchmark the new hardware. I installed the proper beta firmware on both calculators and ran the following program:

PHP Code:
EXPORT HAT()
BEGIN 
LOCAL XP
,XR,YP,YR,ZP,XF,YF,ZF;
LOCAL ZI,ZT,XL,XI,XT,YY,X1,Y1;
LOCAL ZZ,XX;
RECT_P(0);
P:=160Q:=120;
XP:=144XR:=1.5*PI;
YP:=56YR:=1ZP:=64;
XF:=XR/XPYF:=YP/YRZF:=XR/ZP;
FOR 
ZI:=-Q TO Q-DO
   IF 
ZI >= -ZP AND ZI <= ZP THEN
      ZT
:=ZI*XP/ZPZZ:=ZI;
      
XL:=IP(.5+SQRT(XP*XP-ZT*ZT));
      FOR 
XI:=-XL TO XL DO
         
XT:=SQRT(XI*XI+ZT*ZT)*XFXX:=XI;
         
YY:=(SIN(XT)+.4*SIN(3*XT))*YF;
         
X1:=XX+ZZ+P;
         
Y1:=YY-ZZ+Q;
         
PIXON_P(X1,239-Y1,#00FF00);
         
IF Y1 <> 0 THEN
            LINE_P
(X1,240-Y1,X1,239,0)
         
END;
      
END;
   
END;
END;
FREEZE;
END

The results (using TEVAL) were as follows:

Hardware C: 24.2 sec.
Hardware D: 7.2 sec.

As you can see, the HW D is over three times as fast as the HW C for THIS benchmark.

I make NO claims as to any other speed differences in any other programs. I just thought the results were interesting.

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Informal Benchmark HW C vs HW D - toml_12953 - 10-04-2018 10:21 AM
RE: Informal Benchmark HW C vs HW D - sasa - 10-06-2018, 08:33 AM
RE: Informal Benchmark HW C vs HW D - sasa - 10-07-2018, 07:37 AM



User(s) browsing this thread: 3 Guest(s)