• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 TazoTodua; 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 kokobeef, Today, 12:32 PM
            0 responses
            2 views
            0 likes
            Last Post kokobeef  
            Started by StevenNelson, Today, 12:23 PM
            0 responses
            4 views
            0 likes
            Last Post StevenNelson  
            Started by Jackrpo, Today, 11:14 AM
            1 response
            9 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by DariusDeck, Yesterday, 04:22 PM
            7 responses
            49 views
            0 likes
            Last Post NinjaTrader_ChristopherJ  
            Started by laszlonagy, Today, 09:28 AM
            2 responses
            10 views
            0 likes
            Last Post laszlonagy  
            Working...
            X