Home  |  Contents 

Microcontroller and PC projects
  Forum Index : Microcontroller and PC projects         Section
Subject Topic: BASIC Speed Benchmark Tests Post ReplyPost New Topic
<< Prev Page of 5 Next >>
Author
Message << Prev Topic | Next Topic >>
Grogster
Guru
Guru
Avatar

Joined: 31 December 2012
Location: New Zealand
Online Status: Offline
Posts: 5960
Posted: 27 August 2014 at 11:39pm | IP Logged Quote Grogster

That link lists the Atari 600XL, which is close enough in specs to the 800XL, so I won't bother dragging my old dusty out of it's cupboard.

__________________
Smoke makes things work. When the smoke gets out, it stops!


Back to Top View Grogster's Profile Search for other posts by Grogster Visit Grogster's Homepage
 
JohnS
Guru
Guru


Joined: 18 November 2011
Location: United Kingdom
Online Status: Online
Posts: 1676
Posted: 28 August 2014 at 1:20pm | IP Logged Quote JohnS

These benchmarks can mislead, for example they favour compiled languages and also favour apps with very small amounts of data. Even a slightly larger amount of data (arrays or strings) won't even run (or worse, run but malfunction at run time) on a typical Arduino.

Sack full of salt needed...

John
Back to Top View JohnS's Profile Search for other posts by JohnS
 
twofingers
Guru
Guru


Joined: 02 June 2014
Location: Germany
Online Status: Offline
Posts: 586
Posted: 28 August 2014 at 9:28pm | IP Logged Quote twofingers

@John,

With respect, this is not a competition, it's about what can be done by which means, or not. I'm sure you agree.

I'm sure most users who read here can distinguish between interpreters and compilers and know the limits of Arduinos (If not: UNO: 32K Flash, 2K SRAM // MEGA2580: 256K Flash, 8K SRAM // DUE: 512K Flash, 96K SRAM, 3,3V).

No one wants to compare apples with oranges (pears) or say this system is the best.
For me it was important to see what can be done with one system and what with another. I'm always looking for solutions not ideologies!
How Grogster has already explained: Sometimes speed or price is important, sometimes convenience. I am happy to live in a world where I ... WE! have the choice.

If these benchmarks can mislead someone, then we should perhaps explain better?
Is there someone who needs more informations?

regards
Michael
Back to Top View twofingers's Profile Search for other posts by twofingers
 
JohnS
Guru
Guru


Joined: 18 November 2011
Location: United Kingdom
Online Status: Online
Posts: 1676
Posted: 28 August 2014 at 9:51pm | IP Logged Quote JohnS

twofingers wrote:
@John,

With respect, this is not a competition, it's about what can be done by which means, or not. I'm sure you agree.

As you can see, I never mentioned anything about a competition.

They are, however, very selective benchmarks which test almost exclusively CPU speed with little or no data so are in danger of being unlike almost any real life programs for a uC.

I'm merely trying to sound a warning for those who do not realise that. I wouldn't want them to feature on hackaday, for example, which has already featured statements such as being 70 times slower than (whatever) - but slower at what? Well, something meaningless. What matters is whether it's fast enough for what's needed. Gneerally it's way faster than needed because I/O is slow and the things you do with each I/O tend to be quite little in terms of CPU usage.

Back to the sack of salt.

John

Edited by JohnS on 28 August 2014 at 10:21pm
Back to Top View JohnS's Profile Search for other posts by JohnS
 
twofingers
Guru
Guru


Joined: 02 June 2014
Location: Germany
Online Status: Offline
Posts: 586
Posted: 28 August 2014 at 10:34pm | IP Logged Quote twofingers

@John,

Quote:
I'm merely trying to sound a warning for those who do not realise that.

I think that is always a good idea! As I said, for me, these benchmarks were useful for a rough estimate. Therefore I posted the results here. I think each benchmark is selective by nature and requires proper interpretation. I think we agree.

Michael

Edited by twofingers on 28 August 2014 at 10:45pm
Back to Top View twofingers's Profile Search for other posts by twofingers
 
JohnS
Guru
Guru


Joined: 18 November 2011
Location: United Kingdom
Online Status: Online
Posts: 1676
Posted: 29 August 2014 at 6:23am | IP Logged Quote JohnS

I found the results interesting, too. Mainly they confirmed that a 'mite is "fast enough" for most things, which I think everyone kinda knew anyway but no harm done on that front.

Having seen the bad mouthing on h-a-d, with moderator(s) refusing to post my short factual follow-up, I'm wary of things now, though.

John
Back to Top View JohnS's Profile Search for other posts by JohnS
 
twofingers
Guru
Guru


Joined: 02 June 2014
Location: Germany
Online Status: Offline
Posts: 586
Posted: 16 February 2015 at 1:42pm | IP Logged Quote twofingers

Basic benchmark MicroMite update:
(This is for people who don't have a MicroMite for comparison purposes.)


                           BM1    BM2     BM3    BM4    BM5    BM6    BM7    BM8
ABC 800 single precision   0.9    1.8     6.0    5.9    6.3   11.6   19.6    2.9
ABC 800 double precision   1.2    2.2    10.0   10.6   11.0   17.8   26.4   14.4
IBM PC                     1.5    5.2    12.1   12.6   13.6   23.5   37.4    3.5
Apple III                  1.7    7.2    13.5   14.5   16.0   27.0   42.5    7.5
VIC-20                     1.4    8.3    15.5   17.1   18.3   27.2   42.7    9.9
ZX81 in "fast mode"        4.5    6.9    16.4   15.8   18.6   49.7   68.5   22.9

Maximite                   0.016  0.144  0.196  0.205  0.354  0.512  0.721  0.310

Maximite with line Nos     0.016  0.131  0.193  0.194  0.245  0.393  0.582  0.241
Maximite without line Nos  0.016  0.111  0.173  0.173  0.192  0.336  0.525  0.220
MicroMite 40MHz            0.028  0.18   0.285  0.289  0.644  0.892  1.346  0.376
MicroMite 48MHz            0.023  0.15   0.237  0.24   0.536  0.744  1.121  0.313

C-Language (code see above):
Arduino UNO                0.010  0.010  0.058  0.043  0.043  0.043  0.045  0.284
Arduino DUE                0.003  0.003  0.006  0.007  0.007  0.007  0.106  0.014


__________________
"The trick, William Potter, is not minding that it hurts." Lawrence of Arabia?
Back to Top View twofingers's Profile Search for other posts by twofingers
 
matherp
Guru
Guru


Joined: 11 December 2012
Location: United Kingdom
Online Status: Offline
Posts: 2198
Posted: 16 February 2015 at 2:11pm | IP Logged Quote matherp

Results for the Micromite++ (MX470) at 96MHz
BM1 0.015
BM2 0.103
BM3 0.167
BM4 0.168
BM5 0.326
BM6 0.47
BM7 0.74
BM8 0.216
Back to Top View matherp's Profile Search for other posts by matherp
 
MicroBlocks
Guru
Guru
Avatar

Joined: 12 May 2012
Location: Thailand
Online Status: Offline
Posts: 2181
Posted: 17 February 2015 at 11:21am | IP Logged Quote MicroBlocks

And when using cfunctions.:) (Probably need an extra decimal place.)


Edited by TZAdvantage on 17 February 2015 at 11:22am


__________________
Microblocks. Build with logic.
Back to Top View MicroBlocks's Profile Search for other posts by MicroBlocks
 
matherp
Guru
Guru


Joined: 11 December 2012
Location: United Kingdom
Online Status: Offline
Posts: 2198
Posted: 22 February 2015 at 10:59am | IP Logged Quote matherp

Results for benchmark on 168MHz STM32F407VG running MMBasic

BM1 0.011
BM2 0.075
BM3 0.119
BM4 0.128
BM5 0.211
BM6 0.32
BM7 0.505
BM8 0.165
Back to Top View matherp's Profile Search for other posts by matherp
 
darthmite
Senior Member
Senior Member
Avatar

Joined: 20 November 2011
Location: France
Online Status: Offline
Posts: 237
Posted: 25 February 2015 at 3:00pm | IP Logged Quote darthmite

Well , i just try this benchmark on stm32f429 ...


                           BM1    BM2     BM3    BM4    BM5    BM6    BM7    BM8
ABC 800 single precision   0.9    1.8     6.0    5.9    6.3   11.6   19.6    2.9
ABC 800 double precision   1.2    2.2    10.0   10.6   11.0   17.8   26.4   14.4
IBM PC                     1.5    5.2    12.1   12.6   13.6   23.5   37.4    3.5
Apple III                  1.7    7.2    13.5   14.5   16.0   27.0   42.5    7.5
VIC-20                     1.4    8.3    15.5   17.1   18.3   27.2   42.7    9.9
ZX81 in "fast mode"        4.5    6.9    16.4   15.8   18.6   49.7   68.5   22.9

Maximite                   0.016  0.144  0.196  0.205  0.354  0.512  0.721  0.310

Maximite with line Nos     0.016  0.131  0.193  0.194  0.245  0.393  0.582  0.241
Maximite without line Nos  0.016  0.111  0.173  0.173  0.192  0.336  0.525  0.220
MicroMite 40MHz            0.028  0.18   0.285  0.289  0.644  0.892  1.346  0.376
MicroMite 48MHz            0.023  0.15   0.237  0.24   0.536  0.744  1.121  0.313

C-Language (code see above):
Arduino UNO                0.010  0.010  0.058  0.043  0.043  0.043  0.045  0.284
Arduino DUE                0.003  0.003  0.006  0.007  0.007  0.007  0.106  0.014

stm32f429      bm1         0.000 022
"C-Language"   bm2         0.000 022
               bm3         0.000 050
               bm4         0.000 022
               bm5         0.000 023
               bm6         0.000 089
               bm7         0.000 334
               bm8         0.001 188


So , it appear that the chip is very fast

Edited by darthmite on 25 February 2015 at 4:14pm


__________________
Theory is when we know everything but nothing work ...
Practice is when everything work but no one know why ;)
Back to Top View darthmite's Profile Search for other posts by darthmite
 
WhiteWizzard
Guru
Guru


Joined: 05 April 2013
Location: United Kingdom
Online Status: Offline
Posts: 2590
Posted: 25 February 2015 at 5:16pm | IP Logged Quote WhiteWizzard

Wow impressive stuff- are you 100% sure of these figures Fabrice?

Also can you let me know how much current the basic circuit pulls when achieving these times!

Thanks
WW

__________________
For everything MicroMite visit MicroMite.org

Direct Email: WhiteWizzard@MicroMite.org
Back to Top View WhiteWizzard's Profile Search for other posts by WhiteWizzard Visit WhiteWizzard's Homepage
 


<< Prev Page of 5 Next >>
In the news...
 
Post ReplyPost New Topic
Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

Powered by Web Wiz Forums version 7.8
Copyright ©2001-2004 Web Wiz Guide

This page was generated in 0.1250 seconds.
Privacy Policy     Process times : 0, 0, 0, 0.12