docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Classes

    This section contains a reference for classes relevant when working with the Performance Testing Package.

    SampleGroup

    class SampleGroup - represents a group of samples with the same purpose that share a name, sample unit and whether an increase is better.

    Optional parameters

    • Name : Name of the measurement. If unspecified, "Time" is used as the default name.
    • Unit : Unit of the measurement to report samples in. Possible values are: Nanosecond, Microsecond, Millisecond, Second, Byte, Kilobyte, Megabyte, Gigabyte
    • IncreaseIsBetter : If true, an increase in the measurement value is considered a performance improvement ( progression). If false, an increase is treated as a performance regression. False by default.
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)