The following warnings occurred:
Warning [2] Undefined array key 0 - Line: 1677 - File: showthread.php PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php 1677 errorHandler->error_callback
/showthread.php 916 buildtree




Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compiler Speed Trials
#61
Here's the latest with 1.3.0 s1121:
(using my benchmark suite listed above)

Code:
BM1 BM2 BM3 BM4 BM5 BM6 BM7 BM8 BMDRAW Sinclair 4.46 8.46 21.56 19.82 25.34 60.82 87.44 23.30 80.18 ZX Basic 1.26 -O3 2.12 20.78 ZX Basic 1.26-r1603 -O3 0.94 20.78 (17.14 with fSin) ZX Basic 1.2.8-r2153 -O3 1.36 29.06 (24.18 with fSin) ZX Basic 1.2.8-s644 -O3 1.34 29.02 (24.22 with fSin) 30.42 ZX Basic 1.2.8-s682 -O3 0.88 20.56 (16.94 with fSin) 21.14 ZX Basic 1.2.8-s696 -O3 0.90 20.60 (16.98 with fSin) 21.18 ZX Basic 1.2.8-s758 -O3 0.90 20.76 (17.10 with fSin) 21.32 ZX Basic 1.2.9-s815 -O3 0.90 20.54 (16.92 with fSin) 21.08 ZX Basic 1.3.0-s971 -O3 0.90 20.80 (17.16 with fSin) 21.40 ZX Basic 1.3.0-s1121 -O3 0.898 20.818(17.200 with fSin) 21.40

Mixed results. I increased iterations to try to get a finer view of it than the frames variable. Not much change - if anything very very slightly slower, if we allow for rounding errors in the previous results, it's /very/ close, though. Still worth noting that some other compilers (e.g. Zip2) have aced that integer test in half the time.

And again - bugfixes are unfortunately making the code a little bit more convoluted, I think.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)