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

    Class EntitySerializationPerformanceTests

    Inheritance
    System.Object
    EntitySerializationPerformanceTests
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Unity.Entities.Properties.Tests
    Syntax
    public sealed class EntitySerializationPerformanceTests

    Methods

    SerializationPerformance()

    Serializes 100,000 entities as json

    Declaration
    public void SerializationPerformance()

    SerializationPerformanceJob()

    Serializes 100,000 entities as json using the C# job system

    Declaration
    public void SerializationPerformanceJob()

    SerializationPerformanceThreaded()

    Serializes 100,000 entities as json using manual thread management

    This test exists as an example to quickly test stuff on the thread that is not supported by C# job system (e.g. disc I/O, managed objects, strings etc)

    Declaration
    public void SerializationPerformanceThreaded()

    Setup()

    Declaration
    public void Setup()

    TearDown()

    Declaration
    public void TearDown()
    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