Skip to content

Commit e82cc10

Browse files
Antoine Lelievrefredericv-unity3dFrancescoC-unity
authored
Add Performance framework package and HDRP performance tests (#45)
* Added performance test project * Added new test scene system and memory p[rofiling * Added shader analysis package * Create symlink folder in library directory * Update editor window * Update shader analysis selection * Added CLI utility to execute shader analysis reports * Added example for the cli * Removed problematic HDRP graphic test packages * Add xml file to avoid IL2CPP stripping issues with test runner on the performance test(#5903) * Update memory profiling test sample count * Update shader graph support * Updated project settings * Empty commit for Performance reports * Empty commit for Performance reports * Empty commit for Performance reports * Empty commit for Performance reports * Empty commit for Performance reports * Empty commit for Performance reports * Use background job API and improved progress reporting * Empty commit for Performance reports * Updated ui * Empty commit for Performance reports * Empty commit for Performance reports * Added filter on shader pass and variants * Added option to only generate shader variants * Empty commit for Performance reports * Increase garlic heap size * Begin to add build profiling * Added more build info * Working version of the shader compilation time reporting * wip * Removed useless cli * Added util functions to name test and sample groups * Renamed all markers and finished the build profiling * Update test framework package * Updated shader analysis tests * Updated API * Updated API and log command for compiler * Updated api * Use unknown metric instead of time one as workaround * Enable the CPU profiling API * Fix when deleting an analyzed shader * Load reference on enable * Added shader analysis package * Fixed PS4 test name * Fixed memory unit * Added more test scenes * Force performance tests to run on PS4 base * Fixed sample units and use the same SampleGroup for multiple frames in counter test * Begin to create the graphic perf test * Finished the first version of performance graphic test package * Fixed build tests * Increase static analysis timeout * More timeout * Removed Lit shader static analysis * Fix counters tests * Added performance settings window in project settings * Re-add Forward build test scene * Fixed shader analysis filter * PR fixes * Begin to write the doc * Finished V1 of the performance package doc * Added grafana image and doc description * Updated doc * Maybe fix yamayo tests * Update documentation for static analysis * Added note on core asmdef * Removed debug * Fixed total memory * Added tesselation counters test * Tessellation shadow test * Added per scene settings * Added naming convention doc * Fixed build issue on yamato * Compilation fix to revert * Begin to write the new doc page * Completed performance doc * Fixed build test * Added Lit in static analysis * Removed deferred static analysis Co-authored-by: Frédéric Vauchelles <[email protected]> Co-authored-by: FrancescoC-unity <[email protected]> Co-authored-by: FrancescoC-Unity <[email protected]>
1 parent 1333299 commit e82cc10

File tree

193 files changed

+134003
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

193 files changed

+134003
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.bin
2+
MonoBleedingEdge
3+
TmpBuild_Data
4+
TmpBuild
5+
UnityPlayer.dll
6+
WinPixEventRuntime.dll

TestProjects/HDRP_PerformanceTests/Assets/Common.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

TestProjects/HDRP_PerformanceTests/Assets/Common/3DObjects.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

TestProjects/HDRP_PerformanceTests/Assets/Common/3DObjects/PerryHead.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:5b4f8ca7256a574b580bf07f59b39364bd2fef4bd02a3d86a5254e0b619de1be
3+
size 1274748

TestProjects/HDRP_PerformanceTests/Assets/Common/3DObjects/PerryHead/perryhead_bonesANDblendweightsLODs.fbx.meta

Lines changed: 132 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!1 &2714779592105145414
4+
GameObject:
5+
m_ObjectHideFlags: 0
6+
m_CorrespondingSourceObject: {fileID: 0}
7+
m_PrefabInstance: {fileID: 0}
8+
m_PrefabAsset: {fileID: 0}
9+
serializedVersion: 6
10+
m_Component:
11+
- component: {fileID: 2714779592105145410}
12+
- component: {fileID: 2714779592105145413}
13+
- component: {fileID: 2714779592105145412}
14+
- component: {fileID: 2714779592105145415}
15+
m_Layer: 0
16+
m_Name: Cube
17+
m_TagString: Untagged
18+
m_Icon: {fileID: 0}
19+
m_NavMeshLayer: 0
20+
m_StaticEditorFlags: 0
21+
m_IsActive: 1
22+
--- !u!4 &2714779592105145410
23+
Transform:
24+
m_ObjectHideFlags: 0
25+
m_CorrespondingSourceObject: {fileID: 0}
26+
m_PrefabInstance: {fileID: 0}
27+
m_PrefabAsset: {fileID: 0}
28+
m_GameObject: {fileID: 2714779592105145414}
29+
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
30+
m_LocalPosition: {x: 0, y: 0, z: 0}
31+
m_LocalScale: {x: 1, y: 1, z: 1}
32+
m_Children: []
33+
m_Father: {fileID: 0}
34+
m_RootOrder: 0
35+
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
36+
--- !u!33 &2714779592105145413
37+
MeshFilter:
38+
m_ObjectHideFlags: 0
39+
m_CorrespondingSourceObject: {fileID: 0}
40+
m_PrefabInstance: {fileID: 0}
41+
m_PrefabAsset: {fileID: 0}
42+
m_GameObject: {fileID: 2714779592105145414}
43+
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
44+
--- !u!23 &2714779592105145412
45+
MeshRenderer:
46+
m_ObjectHideFlags: 0
47+
m_CorrespondingSourceObject: {fileID: 0}
48+
m_PrefabInstance: {fileID: 0}
49+
m_PrefabAsset: {fileID: 0}
50+
m_GameObject: {fileID: 2714779592105145414}
51+
m_Enabled: 1
52+
m_CastShadows: 1
53+
m_ReceiveShadows: 1
54+
m_DynamicOccludee: 1
55+
m_MotionVectors: 1
56+
m_LightProbeUsage: 1
57+
m_ReflectionProbeUsage: 1
58+
m_RayTracingMode: 2
59+
m_RayTraceProcedural: 0
60+
m_RenderingLayerMask: 1
61+
m_RendererPriority: 0
62+
m_Materials:
63+
- {fileID: 2100000, guid: 73c176f402d2c2f4d929aa5da7585d17, type: 2}
64+
m_StaticBatchInfo:
65+
firstSubMesh: 0
66+
subMeshCount: 0
67+
m_StaticBatchRoot: {fileID: 0}
68+
m_ProbeAnchor: {fileID: 0}
69+
m_LightProbeVolumeOverride: {fileID: 0}
70+
m_ScaleInLightmap: 1
71+
m_ReceiveGI: 1
72+
m_PreserveUVs: 0
73+
m_IgnoreNormalsForChartDetection: 0
74+
m_ImportantGI: 0
75+
m_StitchLightmapSeams: 1
76+
m_SelectedEditorRenderState: 3
77+
m_MinimumChartSize: 4
78+
m_AutoUVMaxDistance: 0.5
79+
m_AutoUVMaxAngle: 89
80+
m_LightmapParameters: {fileID: 0}
81+
m_SortingLayerID: 0
82+
m_SortingLayer: 0
83+
m_SortingOrder: 0
84+
m_AdditionalVertexStreams: {fileID: 0}
85+
--- !u!65 &2714779592105145415
86+
BoxCollider:
87+
m_ObjectHideFlags: 0
88+
m_CorrespondingSourceObject: {fileID: 0}
89+
m_PrefabInstance: {fileID: 0}
90+
m_PrefabAsset: {fileID: 0}
91+
m_GameObject: {fileID: 2714779592105145414}
92+
m_Material: {fileID: 0}
93+
m_IsTrigger: 0
94+
m_Enabled: 1
95+
serializedVersion: 2
96+
m_Size: {x: 1, y: 1, z: 1}
97+
m_Center: {x: 0, y: 0, z: 0}

TestProjects/HDRP_PerformanceTests/Assets/Common/LitCube.prefab.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

TestProjects/HDRP_PerformanceTests/Assets/Common/Luts.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)