csharp
public static class CaptureComparisonTwo captures, subtracted.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ Compared by scope name and not by position, and normalised per frame. Two captures are almost never the same length — one is the four seconds before the change and one the three after — so comparing totals says the shorter run is faster. Every figure here is divided by the capture's frame count first, which is what makes "this scope got 0.4 ms slower per frame" a sentence with meaning.
Methods (1)
public static IReadOnlyList<ProfileDelta> Compare(ProfileCapture before, ProfileCapture after)Subtracts one capture from another.
Used by (2)
- CaptureTestsVixen.Editor.Profiler.Tests
- ProfilerModelVixen.Editor.Profiler