NexusFi: Find Your Edge


Home Menu

 





EasyLanguage Source Code Profiler?


Discussion in EasyLanguage Programming

Updated
    1. trending_up 110 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?
Are there any eval firms that allow you to sink to your …
Traders Hideout
Exit Strategy
NinjaTrader
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
Battlestations: Show us your trading desks!
26 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
The Program
18 thanks
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,431 since Apr 2013
Thanks Given: 481
Thanks Received: 1,623

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