Search Issue Tracker

Active

Under Consideration for 3.0.X

Votes

0

Found in [Package]

3.0.3

Issue ID

BUTFP-5

Regression

No

Allocations made in the SetUp() call are recorded in the performance log when using Performance Test Framework

Package: Performance Test Framework

-

How to reproduce:
1. Download the attached project "Profiling-GC-recorded-in-SetUp.zip"
2. Open Window > General > Test Runner
3. Run the test Tests.dll > ProfilingTest > WithAllocsDuringSetupAndNoAllocsDuringExecution_Profile_ShouldRecordZeroAllocs
4. Open Window > Analysis > Performance Test Report
5. Ensure the Test Report window has refreshed: Click "Refresh" or check "Auto refresh" in the top left
6. Observe the Time.GC() graph

Expected result: All values are 0
Actual result: All values are 201

Reproducible with: 1.3.3-preview, 2.8.1-preview (2020.3.36f1, 2021.3.4f1, 2022.1.5f1, 2022.2.0a17)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.