[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] How fast AmiBroker is?



PureBytes Links

Trading Reference Links

You may want to increase the number of iterations in your preferences
to 1million or more or you may get an error message saying Infinite
loop

On 8/31/05, Tomasz Janeczko <amibroker@xxxxxx> wrote:
> Hello,
> 
> Since one of our uses pointed out to the last Metatrader ad that gives completely false
> statements about AmiBroker speed (in their ad they were telling that AmiBroker is able
> to do 79 simple mathematic operations per second only on 2.8GHz machine (sic!)), I am giving small example of
> code that shows real actual speed of mathematical calculations in AmiBroker.
> 
> How untrue their claims are you can check by running this commentary code:
> 
> Now();
> 
> for( i = 0; i < 1000000; i++ )
> {
> 
>  x = 2 * i + 13 * sin( i ) / (3*i) + cos(i);
> }
> 
> Now();
> 
> The code consists of ONE MILLION of iterations each one
> consisting of:
> 3 multiplications
> 3 additions
> 1 division
> 2 trigonometric functions
> 
> So total of 9 mathematical operations per interation.
> And if you run it on 1.4GHz machine (which is 2x SLOWER than the machine they used for tests)
> you will see that it executes in 1 second.
> 
> This gives (9 ops * 1000000 iterations) = 9 MILLION of simple operations per second in AmiBroker.
> So they misquoted AmiBroker speed by 5 orders of magnitude.
> 
> AmiBroker must be real threat other platforms if they start to spread so untrue figures.
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> 
> 
> 
> Please note that this group is for discussion between users only.
> 
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 


-- 
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Put more honey in your pocket. (money matters made easy).
http://us.click.yahoo.com/r7D80C/dlQLAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/