Post Reply 
Informal Benchmark HW C vs HW D
10-06-2018, 08:33 AM (This post was last modified: 10-06-2018 01:20 PM by sasa.)
Post: #6
RE: Informal Benchmark HW C vs HW D
(10-04-2018 10:21 AM)toml_12953 Wrote:  Hardware C: 24.2 sec.
Hardware D: 7.2 sec.

I have made little addition into your code in order to display time in ms on the graph using TICKS variable:

Code:

EXPORT HAT()
BEGIN 

  LOCAL T := TICKS;

  ...

  T := TICKS - T;
  TEXTOUT_P(T,0,0,0,#FF0000);

  FREEZE;
END;

Testing it with latest public beta, it returns around 350ms. Calling program with TIME(HAT) returns usually the same... And this is far better result, assuming latest beta is true emulator and TICKS is indeed precise under 1 ms. What exactly firmware revision is on your devices?

Still reading PPL manual (testing samples occasionally), much better results (in theory) may be accomplished if it is possible to draw in additional graphics variable (G1-G9) and then simply swap with G0. This way (in theory) is avoided slow display transfer during computation.

EDIT: I have manage to find reference regarding copying graph data and that is BLIT. If used graphic variable specified to G1, copying complete content to G0 is simply BLIT(G1). What results are now on actual devices?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
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: 1 Guest(s)