{"id":14960460,"url":"https://github.com/penspanic/unityperformancetestreportviewer","last_synced_at":"2026-04-02T01:16:00.384Z","repository":{"id":209467644,"uuid":"724137096","full_name":"penspanic/UnityPerformanceTestReportViewer","owner":"penspanic","description":"This tool extends Unity's performance testing API to run various types of tests and visualize them in charts.","archived":false,"fork":false,"pushed_at":"2023-12-03T14:18:56.000Z","size":438,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T02:51:15.689Z","etag":null,"topics":["package","performance-testing","unity","unity3d-plugin"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/penspanic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-27T13:25:47.000Z","updated_at":"2024-04-02T00:53:28.000Z","dependencies_parsed_at":"2023-12-03T12:20:03.418Z","dependency_job_id":"31b1f8fe-2041-47dd-93c4-4bcb63c86280","html_url":"https://github.com/penspanic/UnityPerformanceTestReportViewer","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"cc48acc213fce9ba6a2184641608f745768e1a87"},"previous_names":["penspanic/unityperformancetestreportviewer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/penspanic/UnityPerformanceTestReportViewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/penspanic%2FUnityPerformanceTestReportViewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/penspanic%2FUnityPerformanceTestReportViewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/penspanic%2FUnityPerformanceTestReportViewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/penspanic%2FUnityPerformanceTestReportViewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/penspanic","download_url":"https://codeload.github.com/penspanic/UnityPerformanceTestReportViewer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/penspanic%2FUnityPerformanceTestReportViewer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261380141,"owners_count":23149930,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["package","performance-testing","unity","unity3d-plugin"],"created_at":"2024-09-24T13:22:20.276Z","updated_at":"2026-04-02T01:16:00.337Z","avatar_url":"https://github.com/penspanic.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Performance Test Report Viewer\nThis tool extends Unity's performance testing API to run various types of tests and visualize them in charts.\n\nWhen you create multiple tests and want to compare the results, this tool will help you to compare the results of the tests in a chart.\n\n![img](Documentation~/tool%20screenshot.png)\n\n| Compare tests                             | Parameterized tests                          |\n|-------------------------------------------|----------------------------------------------|\n| ![img](Documentation~/comparable%20test.png) | ![img](Documentation~/parameterized%20test.png) |\n\n\n\n\n\n## Prerequisites\nAPI Compatibility Level : .Net Framework  \nUnity Version : 2022.3.14f1\nPerformance testing API : 3.0.3\n\n## Installiation\n`Unity\u003ePackage Manager\u003eAdd package from git URL...`\n- `https://github.com/penspanic/UnityPerformanceTestReportViewer.git`  \n\nor  \n\n`git clone https://github.com/penspanic/UnityPerformanceTestReportViewer.git`  \n`Unity\u003ePackage Manager\u003eAdd package from disk...\u003epath_to_UnityPerformanceTestReportViewer`\n\n## Usage\n### Write tests\nSample test codes are available in Package Samples.  \n![img](Documentation~/samples.png)\n\u003cbr\u003e\n\n#### Simple test\n```csharp\n[SampleDefinitionContainer]\n    public static class SimpleTestDefinitions\n    {\n        public const string Category = \"SimpleTest\";\n        public static readonly ISampleDefinition Value1 = new DefaultSampleDefinition(\"Value1\", Category, SampleUnit.Byte);\n        public static readonly ISampleDefinition Value2 = new DefaultSampleDefinition(\"Value2\", Category, SampleUnit.Byte);\n        public static readonly ISampleDefinition Value3 = new DefaultSampleDefinition(\"Value3\", Category, SampleUnit.Byte);\n    }\n\n    public class SimpleTest\n    {\n        [Test, Performance]\n        public void Test()\n        {\n            using var sampleGroups = new SampleGroups();\n            using (sampleGroups.CreateScope(SimpleTestDefinitions.Value1))\n                Console.WriteLine(\"Do something\");\n\n            using (sampleGroups.CreateScope(SimpleTestDefinitions.Value2))\n                Console.WriteLine(\"Do something\");\n\n            using (sampleGroups.CreateScope(SimpleTestDefinitions.Value3))\n                Console.WriteLine(\"Do something\");\n        }\n    }\n```\n\n#### Grouped test\nYou can visualize the results of multiple tests in a single chart.\n\n##### Parameterized test\n```csharp\npublic class ParameterizedTest\n{\n    [Test, Performance]\n    public void Test([Values(1, 2, 3, 4, 5)]int parameter)\n    {\n        using var sampleGroups = new SampleGroups();\n        using (sampleGroups.CreateScope(SimpleTestDefinitions.Value1))\n            Console.WriteLine(\"Do something\");\n    }\n}\n```\n\n##### Comparable test\n```csharp\n[ComparableTest]\npublic class GroupedTest\n{\n    [Test, Performance]\n    public void Test1()\n    {\n        using var sampleGroups = new SampleGroups();\n        using (sampleGroups.CreateScope(SimpleTestDefinitions.Value1))\n            Console.WriteLine(\"Do something\");\n    }\n\n    [Test, Performance]\n    public void Test2()\n    {\n        using var sampleGroups = new SampleGroups();\n        using (sampleGroups.CreateScope(SimpleTestDefinitions.Value1))\n            Console.WriteLine(\"Do something\");\n    }\n\n    [Test, Performance]\n    public void Test3()\n    {\n        using var sampleGroups = new SampleGroups();\n        using (sampleGroups.CreateScope(SimpleTestDefinitions.Value1))\n            Console.WriteLine(\"Do something\");\n    }\n}\n```\n\n### Run tests\nWritten tests will be displayed in the Unity Test Runner window. Run the tests.\n\n### View results\nOpen PerformanceTestReportViewer window.  \n(Window/Analysis/Performance Test Report Viewer, Ctrl+Shift+Alt+V)\n\nSome viewing options are available in the window.  \n![img](Documentation~/viewer%20window.png)\n\n\n## Extensions\n### Unity.Entities Extension\nProvides an extension for testing Unity.Entities. In particular, it provides performance testing extensions for ECS World.  \n`Package Manager\u003ePerformance Test ReportViewer\u003eSamples\u003eUnity.Entities Extensions`  \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpenspanic%2Funityperformancetestreportviewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpenspanic%2Funityperformancetestreportviewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpenspanic%2Funityperformancetestreportviewer/lists"}