Search Unity

(Case 1031299) Performance regression

Discussion in '2018.2 Beta' started by Peter77, Apr 28, 2018.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    5,834
    When I was running a performance test of my actual game, I observed Unity 2018.2.0b1 seems to be slower than 2018.1, see this thread.

    I was able to reproduce this performance regression in a mini-example, which is attached to the bug-report Case 1031299. The provided example project runs about 0.8 ms slower on my PC, when built with 2018.2.0b1.

    • 2018.2.0b1 - 6.0 ms by average
    • 2018.1.0b11 - 5.2 ms by average
    I was using the Profiler first, but the performance is too unstable and it was too difficult to see the regression by just looking at the bars in the profiler for me. The average performance of the last second on the other hand makes it a lot easier to see that 2018.2 is slower.


    Reproduce
    1. Open user attached project in 2018.1.0b11
    2. Build a Windows 64 Bit Standalone Player
    3. Run Player
    4. Write down the average milliseconds in the top left corner
    Repeat these steps with Unity 2018.2.0b1 and observe 2018.2.0b1 is slower.

    Expected
    Newer Unity versions should not run slower.
     
  2. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    5,834
  3. mgeorgedeveloper

    mgeorgedeveloper

    Joined:
    Jul 10, 2012
    Posts:
    55
    rz_0lento, MechEthan and Peter77 like this.
  4. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    5,834
    MechEthan likes this.
unityunity