Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Disabling performance data from command line build logs

Discussion in 'Testing & Automation' started by paljan, Jan 11, 2023.

  1. paljan

    paljan

    Joined:
    Feb 9, 2015
    Posts:
    32
    Hi!

    Is there any way to disable the various performance logging done and logged when building from command line. We'd want to be able to disabe data like this from the logs:


    [Performance] Application.InitializeProject : 1 samples, Peak. 20.2 s (1.0x), Avg. 20.2 s, Total. 20.21 s (5.6%)
    [Performance] Application.PackageManager.StartServer : 1 samples, Peak. 2.96 ms (1.0x), Avg. 2.96 ms, Total. 2.962 ms (0.0%)
    [Performance] Application.AcquireProjectLock : 1 samples, Peak. 5.95 ms (1.0x), Avg. 5.95 ms, Total. 5.953 ms (0.0%)
    [Performance] Application.InitializeEngineNoGraphics : 1 samples, Peak. 59.5 ms (1.0x), Avg. 59.5 ms, Total. 59.47 ms (0.0%)
    [Performance] Application.PackageManager.Initialize : 1 samples, Peak. 400 ms (1.0x), Avg. 400 ms, Total. 400.2 ms (0.1%)
     
  2. kcreboundxyz

    kcreboundxyz

    Joined:
    Jun 8, 2023
    Posts:
    1
    same question here, continue looking for solution, it is very strange to see performance report when build failing...