Menu

Great Cow BASIC - Speed Test.. please help

Help
Anobium
2017-02-12
2025-05-11
<< < 1 2 3 (Page 3 of 3)
  • Anobium

    Anobium - 2024-08-16

    rIt is now August 2024. 18 year of development and the compiler is getting faster.

    Compiling: GLCD_Touch_Simple_Demonstration_ATmega2560_SSD1289.gcb
    
    Summary:
         Compiled:
              Program lines: 11344
              Subroutines:  User: 0 ; System: 44 of 559 ; Total: 44
         Chip resource usage:
              Program Memory: 11613/131072 words (8.86%)
              RAM: 426/8192 bytes (5.2%)
              OSC: 16Mhz
    
    Assembling program using GCASM
    Assembler: GCASM
         Building symbol table ...
         Generating machine code ...
    Program assembled successfully (Assembly time: 0.541 seconds)
    
     (Total time: 3.023 seconds)
    Done
    

    Same source, same computer. Same old me.

    So, what was 4.3 secs a few years ago is now 3.1 secs. I have been tweaking the performance of the compiler to reduce the compilation time. Saving those seconds really count!

     
    ❤️
    1
  • Kato

    Kato - 2025-01-10

    Speed test

    GCBASIC (2025.01.10 (Windows 64 bit) : Build 1447)
    
    Compiling: GLCD_Touch_Simple_Demonstration_ATmega2560_SSD1289.gcb
    Program compiled successfully (Compile time: 1.484 seconds)
    
    Summary:
         Compiled:
              Program lines: 11344
              Subroutines:  User: 0 ; System: 44 of 578 ; Total: 44
         Chip resource usage:
              Program Memory: 11613/131072 words (8.86%)
              RAM: 426/8192 bytes (5.2%)
              OSC: 16Mhz
    
    Assembling program using GCASM
    Program assembled successfully (Assembly time: 0.360 seconds)
    
    Done
    

    Total time: 1.844 seconds - are things getting faster?

     
    • Anobium

      Anobium - 2025-01-11

      That is amazingly fast.

      No performance changes since March 2024 but computers are faster. :-)

      Would take longer to program the target microcontroller!

       
  • Anobium

    Anobium - 2025-05-09

    🚀Latest Speed Test on build 1484

    Build 1484 is the Release Candidate build for May 2025. Overall time is 1.75 seconds.

    Windows 11 on main development computer.

    GCBASIC (2025.05.08 (Windows 64 bit) : Build 1484)
    
    Compiling: GLCD_Touch_Simple_Demonstration_ATmega2560_SSD1289.gcb
    GCASM compilation configuration selected
    Program compiled successfully (Compile time: 1.5 seconds)
    
    Summary:
         Compiled:
              Program lines: 14341
              Subroutines:  User: 0 ; System: 44 of 587 ; Total: 44
         Chip resource usage:
              Program Memory: 11613/131072 words (8.86%)
              RAM: 426/8192 bytes (5.2%)
              OSC: 16Mhz
    
    Assembling program using GCASM
    Program assembled successfully (Assembly time: 0.25 seconds)
    Done
    

    The optimisation in GCASM has reduced the total time by a fraction of a second.

    I closely monitor this benchmark test, ensuring that any additional syntax checks and error handlers integrated into the compiler are highly optimised to maintain the shortest possible execution time.


    ⏳ Evolution of Speed: I do remember when this was ⏱️ 35s, then down to ⏱️ 10s... now ⏱️ 1.75s!

     
  • HackInBlack

    HackInBlack - 2025-05-11

    GLCD_Simple_Demonstration_ATmega2560_SSD1289.gcb

    Compilation Report
    Compiler Version (YYYY-MM-DD): 2025.02.15 (Windows 64 bit) : Build 1465)
    Compilation time
    (Compile time: 1.645447 seconds)
    (Assembly time: 0.003540039 seconds)

    Intel Core i7-12700 12x 2.10 GHz - 4.90 GHz
    16GB High Performance DDR5 RAM
    1000GB M.2 NVME High Performance PCIe SSD
    Windows 11 64Bit Professional

     
    • Anobium

      Anobium - 2025-05-11

      Wow. Very quick.

      Run it a few times. Note the timing. Check on build 1484 when it comes out. You have a new baseline to work from.

       
<< < 1 2 3 (Page 3 of 3)

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.