Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

code profiling

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    code profiling

    Have anyone done code profiling for the customizations? if so, please share which ones work best. there are several tools out there and I wamt to get some idea before diving in.

    #2
    Hello junkone,

    Thank you for your post.

    While I am not aware of any code profiling that has been performed, could you elaborate on the customizations you refer to?

    Comment


      #3
      i installed Nprofiler but it can only look at exe files and needs to have pdb available in order to profile. in a nutshell, i am looking for ways to optimize code and look at number of method calls running with execution times so i can optimize them.
      i dont see a way where i can profile based on dll as all my custom code is probably compiled in the custom dll.

      Comment


        #4
        i just used good old visual studio to profile and here is some interesting findings.


        i find calls to indicators that i thought i had remvoed as i dont use them. colored in yellow.
        i find using tick is very intensive operation in number of calls. might have to change to 1 second bar.
        i find my startup is a intensive operation.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by alifarahani, Today, 09:40 AM
        6 responses
        38 views
        0 likes
        Last Post alifarahani  
        Started by Waxavi, Today, 02:10 AM
        1 response
        18 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Started by Kaledus, Today, 01:29 PM
        5 responses
        15 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by Waxavi, Today, 02:00 AM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Started by gentlebenthebear, Today, 01:30 AM
        3 responses
        17 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X