• 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 pstrusi, Today, 02:21 AM
            0 responses
            4 views
            0 likes
            Last Post pstrusi
            by pstrusi
             
            Started by indy73, Yesterday, 10:52 PM
            1 response
            8 views
            0 likes
            Last Post NinjaTrader_EricB  
            Started by priceisking, 05-13-2019, 08:30 AM
            6 responses
            37 views
            0 likes
            Last Post Harry
            by Harry
             
            Started by WgfhqDsdfg, Today, 12:56 AM
            0 responses
            6 views
            0 likes
            Last Post WgfhqDsdfg  
            Started by pjsmith, Today, 12:43 AM
            0 responses
            5 views
            0 likes
            Last Post pjsmith
            by pjsmith
             
            Working...
            X