Releases: needle-mirror/com.unity.test-framework.performance
Releases · needle-mirror/com.unity.test-framework.performance
3.2.1
[3.2.1] - 2026-03-12
Fixed
- Only call AssetDatabase.Refresh() in Cleanup() when something actually got deleted BUTFP-29
- Avoid boxing from enum.Equals in ConvertSamples.
- Prevent unnecessary asset recompilation by skipping result writing when the content is unchanged.
Changed
- Added assert when sample is measured for a non-existing ProfilerMarker.
- Use ProfilerRecorder API to measure profiler markers.
- Updated GC.Alloc measurements (GC() function of Measure.Method) to collect allocation count on the running thread only.
- SampleGroup.GetRecorder is now marked as [Obsolete] and will be removed in a future update.
3.2.0
[3.2.0] - 2025-09-16
Added
- Improved render threading mode reporting
3.1.0
[3.1.0] - 2025-03-28
Added
- Added an optional command-line argument "perfTestResults" to control the target location of performance test run results file.
Fixed
- Warmup cycles no longer record GC measurements.
- Setup and Cleanup cycles no longer contribute to GC measurements.
3.0.3
[3.0.3] - 2023-09-11
Fixed
- Fixed issue where exception in OnTestEnded callback would result in EndTest method not finalising properly
Changed
- Temporarily removed "Open Script" from Performance Benchmark Window
- Some clarifications in documentation were added ("Extension" naming changed to "Package", Package limitations clarified)
3.0.2
[3.0.2] - 2023-06-29
Changed
- Added additional InternalsVisibleTo attribute for internal test assembly
3.0.1
[3.0.1] - 2023-06-23
Changed
- Removed false "unityRelease" field from package.json
[3.0.0] - 2023-06-05
Added
- "Open Source Code" menu item to test results
- Test Filter to filter results by test name
Changed
- Items in test results are grouped by classname
- Make Sample Groups to be shown only when clicking on items with them
- "New Data available" label re-located
- Replaced CamelCase headers with regular text headers in csv report
- Replaced TRUE/FALSE with Yes/No in the "Increase Is Better" column in csv report
- Renamed the default report name to PerformanceTestResults
- Documentation updates to reflect API changes
Fixed
- Median calculation in case of even number of samples
- Deviation division by zero
- Exception thrown after clicking Cancel button (during Test Result export)
- The issue where the last column was always empty in csv report
3.0.0-pre.2
[3.0.0-pre.2] - 2023-04-06
Added
- Help button, which redirects the user to documentation website
- Clear Results button, which clears all Performance test results
- Updated CI to support more Unity versions and expand test coverage
Changed
- Updated the style of toolbar buttons to match that of the Test Runner window for consistency
- Export button is now disabled instead of hidden when there are no Performance test results
- Made AutoRefresh toggle retain its state after closing and reopening the window
- Moved the Performance Test Report from 'Window/Analysis' to 'Window/General' near Test Runner for better accessibility
Removed
- Build project from CI
Fixed
- Issue where running tests with the Test Report window open would cause the error message "The object of type 'Material' has been destroyed" to appear
- Issues where incorrect labels were displayed at certain scenarios
- Issues flagged by SonarQube
3.0.0-pre.1
[3.0.0-pre.1] - 2023-03-02
Added
- Merged 2.8.1 changes that weren't reflected in 2.10.0 release
Fixed
- Fixing issues from SonarQube check
- Updating obsolete API's that stopped working with recent Unity versions
- Clarified how to add package in Unity project in documentation
[2.10.0] - 2021-11-01
Added
- Support for dynamic measurement count in Measure.Method and Measure.Frames
[2.9.0] - 2021-04-14
Added
- Support for overriding measurement count
[2.8.1] - 2021-03-16
Removed
- Setting up date when building player. It will set up at the beginning of the run.
2.8.1-preview
[2.8.1] - 2021-03-16
Removed setting up date when building player. It will set up at the beginning of the run.
[2.8.0] - 2021-03-16
Add overloads to measurements for overriding sample unit
Fix cases where cleanup throws an exception
2.8.0-preview
[2.8.0] - 2021-03-16
Add overloads to measurements for overriding sample unit
Fix cases where cleanup throws an exception
[2.7.0] - 2021-02-19
Reduce metadata overhead when running locally by caching dependencies
Remove the need for link.xml
Restructured documentation
Fixed method measurement IterationsPerMeasurement