Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Discussion Iteration times are getting bad

Discussion in 'Burst' started by tertle, Jul 19, 2023.

  1. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,612
    I've mostly been working on small standalone libraries recently and just today merged them back into the main project and had a look at it and ran into 60-90 second domain reloads.

    Loading up superluminal, the compile time + asset reimport time is only 8 seconds and the rest is nearly all burst

    upload_2023-7-19_19-39-54.png

    This is on a 3900X

    I mostly think this the cost of ISystem burst compiled methods biting, but is there any ongoing work on iteration speeds that is on the near horizon?
     
    xVergilx likes this.
  2. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,612
    I should add we kind of debugged an issue a while ago where the ISystem function pointer compiling was taking ages

    upload_2023-7-19_20-36-46.png

    The problem is, I can easily see system count doubling over time.
     
    Last edited: Jul 19, 2023
  3. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    3,721
    Versions of Unity, Burst, etc. would be helpful.
    Did you try with Burst disabled? Changing Burst options in Settings such as „Optimize for“?
    Project folder is excluded from „live“ virus scanners?
    „Loading up“ means what exactly? Loading the project? Enter Playmode? Alt+Tab into Editor with domain reload?
     
  4. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,612
    2022.3.4
    Burst 1.8.7
    Default burst settings

    Tested simply by adding an empty line to the bottom of a file in a top level assembly with no dependencies to force a domain reload.

    Turning burst off changes drops it to a 10 second domain reload time
     
    Last edited: Jul 19, 2023
  5. MarcoPersson

    MarcoPersson

    Unity Technologies

    Joined:
    Jul 21, 2021
    Posts:
    42
    Hi! There are known performance regressions in 1.8.7 that should be addressed by the next release of Burst
     
    DragonCoder likes this.