com.unity.test-framework.performance 6.7.0

com.unity.test-framework.performance

Source docs
Notes: processed

Browse versions

PreviousNext

Download Options

Direct package downloads captured from Unity's package registry.

No direct package download is available for this version.

Unity Compatibility

No Unity compatibility metadata provided.

Package Dependencies

Bug Fixes

  • Unsampled sample groups are now reported with zeroed statistics, and the active test is always cleared so a failing test can no longer fail the rest of the run. [UUM-150776]
  • Measure.Scope() and Measure.Frames() converted Stopwatch timestamps as if they were TimeSpan ticks, overstating recorded times by Stopwatch.Frequency / TimeSpan.TicksPerSecond. Samples were correct on Mono but 100x too large on CoreCLR/Unix. Measure.Frames() additionally under-counted frames per measurement because its warmup probe used the same conversion. Recorded values from affected configurations are not comparable with earlier runs.
  • m\_DesiredFrameCount in FramesMeasurement.cs is now clamped at k\_MinIterations instead of potentially being silently wrong.
  • Performance test results are now saved to the results file as each test finishes instead of only when the whole run completes, so results collected before a crash, a test timeout or another premature shutdown of a test run are no longer lost. The results file is also written through a temporary file so an interrupted write cannot leave it truncated.

Improvements

  • When `perfTestResults` is not specified but the Unity Test Framework `testResults` argument is, the performance results file is now also saved next to the NUnit results file. A command line run collects that directory, so results of a run that did not finish can still be picked up from it.