Menu

Great Cow BASIC - Speed Test.. please help

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

    Anobium - 2017-02-12

    I want to buy two more development computers but I am stumped in selecting the correct architecture. Why? I have some benchmarks (shown below) and it is the older architectures than perform best.

    What is the best we have as a community? Using ..\GCB@Syn\GreatCowBasic\Demos\GLCD Solutions\GLCD Simple Calculator with Touch Screen\GLCD_Touch_Simple_Demonstration_ATmega2560_SSD1289.gcb as the baseline (because, it is large and makes the compiler and assembler do some work) what is your best time?

    Rules: Stock install, using GCASM, I am using Windows 7, 8 or 10 and I tried Windows Server 2003, you can use SDD or any form of disk and it is based on Great Cow BASIC v0.96.00, virus checkers etc all turned on.

    My best was:
    10s - a Toshiba, 4 core! Windows 7
    11s - a new Dell 2 core Windows 10
    14s- HP 844P
    16s - AZURE IN THE CLOUD!!
    18s - HP 310p
    18s - HP Elitbook
    20s - WK2x3 Server
    27s - HP ElitePad 1000
    49s - HP Thin Client
    25s - My Main Development Computers (I have two of these!)

    So, what is your best time for this test? I am currently going to take the wifes Toshiba as a development computer! But, can you better 10s?

    What is your advice?

     

    Last edit: Anobium 2017-02-12
  • kent_twt4

    kent_twt4 - 2017-02-12

    Similar 2 core score. No rec's, but personaly like space saving SFF computer. Big "IF" graphics card/expansion isn't a requirement.

    11.0 Sec
    Antec ISK110
    Intel i3 4130T 2.9 GHz
    8GBRam
    120GB SSD
    Win 8.1

     
  • Anobium

    Anobium - 2017-02-12

    My wifes 10 sec computer is 6 years or more older.
    Tecra M11-17Z - Toshiba
    Intel® Core™ i7-640M Processor
    4GB RAM
    Tecra M11-17Z - Toshiba
    type : Intel® Core™ i7-640M Processor clock speed : 2.80 / 3.46 Turbo GHz
    Front Side Bus : 1066 MHz 3rd level cache : 4 MB

     

    Last edit: Anobium 2017-02-12
  • William Roth

    William Roth - 2017-05-16

    18.5 sec.
    Gateway Mid TOwer Circa 2007
    Intel Core 2 Duo E6600 @ 2.4 GHz
    4GB Ram
    1066 FSB
    4M L2 Cache
    Win 10 Pro 64-Bit

     
    • Chris Roper

      Chris Roper - 2017-05-16

      13.1 Sec. Compiler Version: 0.97.02 RC01 2017-04-22 Program Memory:
      22748 bytes RAM: 437/8192 bytes (5.33%) Chip: MEGA2560

      OS Name: Microsoft Windows 7 Professional
      OS Version: 6.1.7601 Service Pack 1 Build 7601
      OS Manufacturer: Microsoft Corporation
      OS Configuration: Standalone Workstation
      OS Build Type: Multiprocessor Free
      Original Install Date: 2013/07/18, 03:20:00 AM
      System Boot Time: 2017/05/16, 09:20:07 AM
      System Manufacturer: Gigabyte Technology Co., Ltd.
      System Model: B85M-HD3
      System Type: x64-based PC
      Processor(s): 1 Processor(s) Installed.
      [01]: Intel64 Family 6 Model 60 Stepping 3
      GenuineIntel ~3001 Mhz
      BIOS Version: American Megatrends Inc. F3, 2013/05/09

      Total Physical Memory: 8071 MB

       
  • Paul Haug

    Paul Haug - 2017-05-16

    Not sure I am doing this right, but here are my results.
    ASM of the program = 8.6 sec
    HEX compile = 10.7 sec
    ..
    Dell floor model (aprox 2 yrs old) Inspiron 3847
    Win 10 Home Version
    Ver 1607
    Intel Core CPU at 3.2 Ghz
    Ram 8 GB
    64 bit OS

    .
    .
    1:15:55 G+Stool-COMPILE/ASSEMBLE, processing C:\GCB@Syn\G+Stools\makeASM.bat
    Source-File = C:\Users\Paul\Desktop\GLCDTouchSimpleDemonstrationATmega2560SSD1289.gcb
    Target-File = C:\Users\Paul\Desktop\GLCDTouchSimpleDemonstrationATmega2560SSD1289.asm 8.6 Sec. Compiler Version: 0.97.01 2017-02-20 RAM: 437/8192 bytes (5.33%) Chip: MEGA2560

     

    Last edit: Paul Haug 2017-05-16
  • Chris Roper

    Chris Roper - 2017-05-16

    Ram 800 GB

    I don't even have that much Hard Disk :)

     

    Last edit: Chris Roper 2017-05-16
  • Paul Haug

    Paul Haug - 2017-05-16

    Woops, sorry, my poor eyes mised the deicmal point. 8.00 Gb

     
  • Marc in the Dark

    15.2 Sec. Compiler Version: 0.97.02 RC01 2017-04-22 Program Memory: 22748 bytes RAM: 437/8192 bytes (5,33%) Chip: MEGA2560

    Intel Core i7-870 @ 2.93 GHz
    16,0 GB Ram
    Windows 10 x64

     
  • CDRIVE

    CDRIVE - 2017-05-16

    Chris, I have really good news for you. Your eyes are not failing you. Paul's original copy that made it to my mailbox reads "Ram 800 GB".

    It's that magic "Edit" button that changed it to 8 GB. Now you don't have to fork out any $ for a new prescription. You can spend it on a new toy! ;-)

    EDIT!!! I'm the one that needs a new prescription! It was Paul that made the poor eyes comment.
    Sorry!

    Cheers!
    Chris S.

     

    Last edit: CDRIVE 2017-05-16
  • stan cartwright

    stan cartwright - 2017-06-13

    Duh .dont't it depend on file size? my laptop I used for avr and 2core athlon 6year old for pic. Thought avr slow but then tried pic on laptop and slow. both faster on pc of course.
    24.1 Sec. Compiler Version: 0.97.<<>> 2017-04-09 Program Memory: 2059/16384 words (12.57%) RAM: 218/1536 bytes (14.19%) Chip: 18F25K22
    25
    That's old dual core laptop. Old pc would be 3 to 4 seconds.
    All those 20 second differences mount up until it's a 2 week holiday

     
    • Anobium

      Anobium - 2017-06-13

      @Stan. Did you use the file that is the benchmark? Or, some other program ? Can you confirm which file you used to benchmark your system?

       
  • Anobium

    Anobium - 2017-06-13

    I am about to purchase a new development computer.   Using the standard benchmark file it is showing 6 seconds when I tested it in the shop!!

    It is one of the cheapest computers. When I pick it up tomorrow I will post more specification details.

     
  • stan cartwright

    stan cartwright - 2017-06-14

    Target-File = C:\GCB@Syn\GreatCowBasic\Demos\GLCD Solutions\GLCD Simple Calculator with Touch Screen\GLCD_Touch_Simple_Demonstration_ATmega2560_SSD1289.asm 18.5 Sec. Compiler Version: 0.97.02 RC01 2017-04-22 RAM: 437/8192 bytes (5.33%) Chip: MEGA2560

    intel 2 core E8400 @3GHz 2 gig ram....rubbish
    win 10 pro

     

    Last edit: stan cartwright 2017-06-14
  • Anobium

    Anobium - 2017-06-14

    @Stan. No shabby but not fast enough for me.

    So, today I went to PC WORLD in the UK. I validated the test - amazing still 6 seconds. Excitely, I shout 'I will take it', Well, about 30 minutes pass. I have been told - 'the computer is very popular', 'we have none in store', 'we cannot bring one from another store', 'you cannot order online for collection locally (I can pick up but I have to drive 80 miles!!)' and 'the next batch is due in late June'. My advice to the staff in the shop after this... 'yet some delivered by Amazon'.

    Ho hum. I left the store.

    Tomorrow, I am off to Weald & Download Living Museum, see I shall become a Blacksmith for the day.... but, I know there is a PC WORLD with the computer I want only 15 miles away. I shall try again... or, do I simply order from Amazon? The story will continue.

    P.S, This is NOT me in the photo as I go tomorrow! :-)

     
  • Chris Roper

    Chris Roper - 2017-06-14

    P.S, This is NOT me in the photo as I go tomorrow! :-)

    Just as well or we would have had to warn PC World that an Irate customer was last seen forging a Sword and we have every reason to believe that he will be returning tomorrow with a grievance. ;>)

     
    • Anobium

      Anobium - 2017-06-14

      @Chris. VERY FUNNY!!

       
  • stan cartwright

    stan cartwright - 2017-06-14

    I built mine. It was more stuff for money at the time. CPC have good pcs for the money but don't forget the vat not included, which is probably more than the machine price the way things are going.
    CPC is better machines for price than pcworld I think last time I looked.
    ps.-just got it...sourcforge.
    Shame about people who have to wait all of 13 seconds longer. How many compiles until it was a weeks holiday? There's a program for that.

     

    Last edit: stan cartwright 2017-06-14
    • Anobium

      Anobium - 2017-06-15

      You clearly need the back story. This program used to take 122 secs  to compile   After we changed the compiler we have achieved 23secs on my reference computer. Understanding how different computer architectures perform is very useful in deciding the need for further performance enhancements.

      And, the one advantage of PCWorld? I was permitted to test about 50 different computer architectures. Cannot do this on Amazon.

       
  • bed

    bed - 2017-11-28

    Anobium how about this?

    time /opt/GCBASIC/makehex.sh GLCD_Touch_Simple_Demonstration_ATmega2560_SSD1289.gcb 
    awk: /opt/GCBASIC/preprocess.awk:24: (FILENAME=GLCD_Touch_Simple_Demonstration_ATmega2560_SSD1289.gcb FNR=9) Warnung: Es wurden unbekannte Multibyte-Daten gefunden. Ihre Daten entsprechen neventuell nicht der gesetzten Locale
    Great Cow BASIC (0.98.00 2017-09-23)
    
    Compiling GLCD_Touch_Simple_Demonstration_ATmega2560_SSD1289.gcb ...
    Done
    
    Assembling program ...
    
    Program assembled successfully!
    

    real 0m5,087s
    user 0m4,804s
    sys 0m0,224s

    In real it's differ between 4- 5.5 Seconds
    My Setup:

    System: Host: tuxedo Kernel: 4.9.0-4-amd64 x86_64 (64 bit gcc: 6.3.0) Desktop: Gnome 3.22.3 (Gtk 3.22.11)
    Distro: Debian GNU/Linux 9 (stretch)
    Machine: Device: laptop System: TUXEDO product: P65_P67RGRERA
    Mobo: TUXEDO model: P65_P67RGRERA UEFI [Legacy]: American Megatrends v: 1.05.12 date: 01/05/2016

    CPU: Quad core Intel Core i7-6700HQ (-HT-MCP-) cache: 6144 KB
    flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 20736
    clock speeds: max: 3500 MHz 1: 799 MHz 2: 799 MHz 3: 799 MHz 4: 799 MHz 5: 1058 MHz 6: 804 MHz
    7: 814 MHz 8: 824 MHz

     

    Last edit: bed 2017-11-28
  • bed

    bed - 2017-11-28

    But in wine, 10 times slower.
    Any questions why the heck I'm using Linux with Geany?
    Just retested it with 0.98.01
    0.5 Second slower, so 5.5 Seconds

     

    Last edit: bed 2017-11-28
  • bed

    bed - 2018-11-25

    I need to dig up this old post right now.
    Rumor has it that the latest version of GCBASIC has become much faster...
    Well, for my Linux computer, (the same one since 2 years) the makehex.sh time has been halved around.

    $ time LC_ALL=C  /opt/GCBASIC/makehex.sh glcd_touch_simple_demonstration_atmega2560_ssd1289.gcb
    Great Cow BASIC (0.98.04 RC01 2018-10-20 (Linux 64 bit))
    
    Compiling glcd_touch_simple_demonstration_atmega2560_ssd1289.gcb ...
    Done
    
    Assembling program ...
    
    Program assembled successfully!
    
    real    0m2,585s
    user    0m2,516s
    sys 0m0,032s
    

    The LC_ALL=C is used to suppress the warning, which comes with me because of my
    $LANG=de_DE.utf8
    has no further influence

     

    Last edit: bed 2018-11-25
    • Anobium

      Anobium - 2018-11-25

      NEW WORLD RECORD!!!

       
      😄
      1
  • bed

    bed - 2019-04-23

    098.05:
    ` time LC_ALL=C /opt/GCBASIC/makehex.sh glcd_touch_simple_demonstration_atmega2560_ssd1289.gcb
    Great Cow BASIC (0.98.05 2019-04-20 (Linux 64 bit))

    Compiling glcd_touch_simple_demonstration_atmega2560_ssd1289.gcb ...
    Done

    Assembling program ...

    Program assembled successfully!

    real 0m2,574s
    user 0m2,500s
    sys 0m0,036s
    `

     
  • Paul Haug

    Paul Haug - 2019-05-04

    My original test in 2017-05-16, .Compiler Version: 0.97.01 2017-02-
    ASM of the program = 8.6 sec
    HEX compile = 10.7 sec
    ..
    Same computer setup.
    Dell floor model(Old like me, but still works, unlike me) Inspiron 3847
    Win 10 Home Version
    Ver 1607
    Intel Core CPU at 3.2 Ghz
    Ram 8 GB
    64 bit OS

    Today with same computer but 0.98.05 asm version:
    ASM = 5.5 sec
    Hex compile = 11.5

     
1 2 3 > >> (Page 1 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.