Class PerformanceTest | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class PerformanceTest

    Inheritance
    System.Object
    PerformanceTest
    Namespace: Unity.PerformanceTesting
    Syntax
    [Serializable]
    public class PerformanceTest

    Constructors

    PerformanceTest()

    Declaration
    public PerformanceTest()

    Fields

    EndTime

    Declaration
    public double EndTime
    Field Value
    Type Description
    System.Double

    OnTestEnded

    Declaration
    public static PerformanceTest.Callback OnTestEnded
    Field Value
    Type Description
    PerformanceTest.Callback

    SampleGroups

    Declaration
    public List<SampleGroup> SampleGroups
    Field Value
    Type Description
    System.Collections.Generic.List<SampleGroup>

    StartTime

    Declaration
    public double StartTime
    Field Value
    Type Description
    System.Double

    TestCategories

    Declaration
    public List<string> TestCategories
    Field Value
    Type Description
    System.Collections.Generic.List<System.String>

    TestName

    Declaration
    public string TestName
    Field Value
    Type Description
    System.String

    TestVersion

    Declaration
    public string TestVersion
    Field Value
    Type Description
    System.String

    Properties

    Active

    Declaration
    public static PerformanceTest Active { get; }
    Property Value
    Type Description
    PerformanceTest

    Methods

    CalculateStatisticalValues()

    Declaration
    public void CalculateStatisticalValues()

    Compare(String, String, Single)

    Declaration
    public static void Compare(string oldGroup, string newGroup, float percentage)
    Parameters
    Type Name Description
    System.String oldGroup
    System.String newGroup
    System.Single percentage

    Compare(SampleGroupDefinition, SampleGroupDefinition, Single)

    Declaration
    public static void Compare(SampleGroupDefinition group, SampleGroupDefinition group2, float percentage)
    Parameters
    Type Name Description
    SampleGroupDefinition group
    SampleGroupDefinition group2
    System.Single percentage

    GetSampleGroup(SampleGroupDefinition)

    Declaration
    public static SampleGroup GetSampleGroup(SampleGroupDefinition definition)
    Parameters
    Type Name Description
    SampleGroupDefinition definition
    Returns
    Type Description
    SampleGroup

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023