Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

why Compile is slow in NT8?

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

    why Compile is slow in NT8?

    I see a noticeable lowered speed of compiling the scripts in NT8.

    I have clean install of nT7 and NT8, and NT7 compiles in 1 seconds, while NT8 needs 4-5-6 seconds, and development of scripts are very annoying.
    I am sure there is something different that NT8 does with compiling, than NT7.

    can you tell us why NT8 compiler is slower?

    #2
    Hello selnomeria,

    Thanks for opening the thread.

    The biggest contributing factor for long compile times is the amount of code that needs to be compiled. NinjaTrader 8 has a lot more NinjaScripts apart of the custom assembly than NinjaTrader 7.

    You can observe the size of the compiled NinjaTrader.Custom.dll assembly in the bin/Custom folder. A larger size assembly will take longer to compile.

    If you have any additional questions, please don't hesitate to ask.
    JimNinjaTrader Customer Service

    Comment


      #3
      Hello Jim

      The compile time does it take into account the amount of all strategies created, or it is only affected by the size of the strategy itself?

      Comment


        #4
        Hello roblogic,

        Even though it appears you have registered in February, welcome to the forums!

        Both the amount of code in a strategy and the number of strategies (and other NinjaScripts) will contribute to the amount of code that gets compiled and thus the compile time. All NinjaScript code on the platform gets compiled at once when the compile button is pressed.

        Let us know if you have any additional questions.
        JimNinjaTrader Customer Service

        Comment


          #5
          i've found this topic ( https://ninjatrader.com/support/foru...2-compile-time ), but still need some direct tips from NT support , will be nice.
          Last edited by ttodua; 05-23-2019, 04:04 AM.

          Comment


            #6
            Hello TazoTodua,

            The advise that Jessica gave involves publicly available information for tweaking Visual Studio. While she was being helpful to clients in that thread, tweaking Visual Studio for faster compile times extends beyond what we can assist further with in the support department.

            You may try the tips given in the articles she has linked, but we will not be able to provide any additional comment.

            If you have any additional NinjaTrader related inquiries, please do not hesitate to open a new thread.
            JimNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by timmbbo, Today, 08:59 AM
            2 responses
            10 views
            0 likes
            Last Post bltdavid  
            Started by alifarahani, Today, 09:40 AM
            6 responses
            40 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  
            Working...
            X