NexusFi: Find Your Edge


Home Menu

 





EasyLanguage Source Code Profiler?


Discussion in EasyLanguage Programming

Updated
    1. trending_up 150 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread

EasyLanguage Source Code Profiler?

  #1 (permalink)
shawnh
Maritimes, Canada
 
Posts: 9 since Nov 2010
Thanks Given: 0
Thanks Received: 1

Dear group, would anyone know if there exists a "source code profiler" tool for EasyLanguage? Some tool (or technique) to check the execution time taken for the individual statements of a strategy would be very useful in finding bottlenecks.

Thanks!
Shawn

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
About a successful futures trader who didnt know anythin …
Psychology and Money Management
Cheap historycal L1 data for stocks
Stocks and ETFs
How to apply profiles
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
 
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,629

Shawn,

the StopWatch class might be helpful for you. Additionally, you should be able to find various user created performance timers in the official forum.

Regards,

ABCTG


shawnh View Post
Dear group, would anyone know if there exists a "source code profiler" tool for EasyLanguage? Some tool (or technique) to check the execution time taken for the individual statements of a strategy would be very useful in finding bottlenecks.

Thanks!
Shawn


Follow me on Twitter Reply With Quote
  #3 (permalink)
shawnh
Maritimes, Canada
 
Posts: 9 since Nov 2010
Thanks Given: 0
Thanks Received: 1


Thanks ABCTG, I will look into that Stopwatch Class!

Cheers
Shawn

Reply With Quote
  #4 (permalink)
 bfulks 
Boston MA
 
Experience: Advanced
Platform: TradeStation
Trading: Stocks and options
Posts: 24 since Aug 2022
Thanks Given: 2
Thanks Received: 4


shawnh View Post
Dear group, would anyone know if there exists a "source code profiler" tool for EasyLanguage? Some tool (or technique) to check the execution time taken for the individual statements of a strategy would be very useful in finding bottlenecks.

Thanks!
Shawn

You could add a statement to add the current time after each instruction into an array, Then print the array later.

This would include the time required to write to the array, obviously, so I would enter some value two consecutive times to measure how much time it is taking to write to the array.

Reply With Quote
  #5 (permalink)
shawnh
Maritimes, Canada
 
Posts: 9 since Nov 2010
Thanks Given: 0
Thanks Received: 1


bfulks View Post
You could add a statement to add the current time after each instruction into an array, Then print the array later.

This would include the time required to write to the array, obviously, so I would enter some value two consecutive times to measure how much time it is taking to write to the array.


Thank you sir...I've already implemented something like that where for each statement I'm summing up to an array item, the elapsed "ticks" it took for that statement to execute.

Cheers
S

Reply With Quote




Last Updated on March 24, 2024


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts