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

Re: [amibroker] Re: profiler checks and finds cci function most offending



PureBytes Links

Trading Reference Links

Title: Re: [amibroker] Re: profiler checks and finds cci function most offending

Something is odd...


Using AB 6.16.0 Plot this: Plot(CCI(20),"",2,1);

Gives me this timing:


herman


Friday, August 22, 2008, 12:30:26 PM, you wrote:


> the default. here is the timings that i am seeing



> start=GetPerformanceCounter(); 

> CCIVAL=CCI(14);

> finish=GetPerformanceCounter(); 

> printf( "lapsedtime in ms = %g ", abs(finish-start) );



> i am getting 505 ms. does not add up for me. what else can i look at 

> to trouble shoot it.


> --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@xxx> 

> wrote:


>> The timing is somewhat strange. The CCI is computationally 

> intensive (with complexity

>> O(Range * NumBars )) but still your timinings are weird.


>> I have done check on 80000 bars with rather long-period CCI( 150 ) 

> and it takes just 26 ms.


>> You have less bars in your example. What PERIOD of CCI are you 

> using ?


>> Best regards,

>> Tomasz Janeczko

>> amibroker.com

>> ----- Original Message ----- 

>> From: "murthysuresh" <money@xxx>

>> To: <amibroker@xxxxxxxxxxxxxxx>

>> Sent: Friday, August 22, 2008 3:21 PM

>> Subject: [amibroker] profiler checks and finds cci function most 

> offending



>> > the cci function provided by afl seems to cause .5 seconds to 

>> > calculate. i find that to be astonishing.

>> > 

>> > here are the screenshots of the profiler showing the overall 

> timing 

>> > with and without the cci.

>> > i am lost for words and dont know what to do as cci is a big part 

> of my 

>> > charting exercise

>> > 

>> > http://screencast.com/t/NInZ3HQK with cci 

>> > http://screencast.com/t/Dlki7CxwJ without cci

>> > 

>> > 

>> > ------------------------------------

>> > 

>> > 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:

>> > http://www.amibroker.com/devlog/

>> > 

>> > For other support material please check also:

>> > http://www.amibroker.com/support.html

>> > Yahoo! Groups Links

>> > 

>> > 

>> >





> ------------------------------------


> 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:

> http://www.amibroker.com/devlog/


> 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/


> <*> Your email settings:

>     Individual Email | Traditional


> <*> To change settings online go to:

>     http://groups.yahoo.com/group/amibroker/join

>     (Yahoo! ID required)


> <*> To change settings via email:

>     mailto:amibroker-digest@xxxxxxxxxxxxxxx 

>     mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx


> <*> 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/



__._,_.___

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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___