Performance Overview

During 2017.2 beta, I posted some performance test results of mine:

I thought I’m going to continue it and run the same test(s) with 2017.3.

Overall, 2017.3.0b6 is the fastest 2017.x build with my project. According to my tests, especially some performance “spikes” are flattened now, compared to 2017.1 and 2017.2.

What the test is doing

The (first-person) game I’m working on features an automated performance test. It works like this:

  • Camera is placed at a defined position in the scene

  • Camera makes a 360 degree rotation around the Y-axis within 20 seconds (slowly rotating around y)

  • Every second the test captures the average CPU frame time of the last second

The game runs just like it would normally do, but the camera/player does not move and the AI in unable to see the player.

I ran this test with three different builds (Standalone Windows 64bit):

  • 2017.1.1p3

  • 2017.3.0b6 without any modifications

  • 2017.3.0b6 with Physics.autoSyncTransforms=false, Physics2D.autoSyncTransforms=false, Physics2D.autoSimulate=false

3265986--252073--unity2017_3_0b6_scene_4_3.png 3265986--252074--unity2017_3_0b6_scene_5_4.png 3265986--252075--unity2017_3_0b6_scene_6_8.png

The last test “SCENE_6_8” runs partly about 0.5ms slower than 2017.1, but the total peak is much lower. Here are the actual samples for that test, numbers are in milliseconds.
Raw Numbers

2017.1.1p3  2017.3.0b6  2017.3.0b6 – AutoSync=off
5.66558     6.134033    5.793048
6.329998    6.561479    6.143956
6.763355    6.734349    6.347656
7.452619    6.893628    6.488628
8.090112    6.950378    6.574244
8.312887    6.942854    6.594206
7.5344      6.804382    6.347656
6.97581     6.724518    6.249848
6.462638    6.662937    6.253052
5.953998    6.451729    6.102027
5.657993    6.299289    5.893124
5.458666    6.08354     5.751336
5.532955    6.034391    5.62895
5.652476    5.952381    5.474487
5.764665    5.988755    5.338628
5.771681    5.819631    5.308444
5.707481    5.762561    5.378313
5.607051    5.748466    5.414643
5.584717    5.964733    5.598867
5.605005    6.08576     5.724749
12 Likes

Awesome results! Very reassuring

Send this man a complete Unity Beta leisure suit!
Your tests are play mode, how is it to use the editor? In b1 I noticed that compile time was slower and general use was a bit glitchy.

I was running the tests in a build. I didn’t spend much time with the editor yet.

I still use 2017.1 to work on the project. I only open copies of it in 2017.2 and 2017.3 to check for issues and run the performance test.

1 Like