Skip to content

Commit 1a8721d

Browse files
committed
Add all ProfilerMarkers that exist in the package code.
1 parent 008bfb3 commit 1a8721d

File tree

1 file changed

+30
-5
lines changed

1 file changed

+30
-5
lines changed

Assets/Tests/InputSystem/CorePerformanceTests.cs

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,14 +1108,39 @@ public void Performance_OptimizedControls_ReadingPose4kTimes(OptimizationTestTyp
11081108
// Needed for the tests below.
11091109
string[] allInputSystemProfilerMarkers =
11101110
{
1111+
"BuildControlTree",
1112+
"FixedUpdate.NewInputFixedUpdate",
1113+
"HIDParseDescriptorFallback",
1114+
"InitialActionStateCheck",
1115+
"InputActionCallback",
1116+
"InputActionResolveConflict",
1117+
"InputAction.Enable",
1118+
"InputAction.Disable",
1119+
"InputActionMap.ResolveBindings",
1120+
"InputCheckForUnpairedDeviceActivity",
1121+
"InputEventTrace",
1122+
"InputEventTreeView.BuildRoot",
1123+
"InputManager.RegisterCustomTypes",
1124+
"InputManager.RestoreDevicesAfterDomainReload",
11111125
"InputUpdate",
1112-
"InputSystem.onBeforeUpdate",
1126+
"InputSystem.AddDevice",
1127+
"InputSystem.InitializeInEditor",
1128+
"InputSystem.onActionsChange",
1129+
"InputSystem.onActionChange",
11131130
"InputSystem.onAfterUpdate",
1114-
"PreUpdate.NewInputUpdate",
1131+
"InputSystem.onBeforeUpdate",
1132+
"InputSystem.onDeviceSettingsChange",
1133+
"InputSystem.onEvent",
1134+
"InputSystem.onLayoutChange",
1135+
"InputSystem.onSettingsChange",
1136+
"InputSystem.onDeviceChange",
1137+
"InputSystem.Reset",
1138+
"InputSystem.TryFindMatchingControlLayout",
1139+
"InputUser.onChange",
11151140
"PreUpdate.InputForUIUpdate",
1116-
"FixedUpdate.NewInputFixedUpdate",
1117-
"InputAction.Enable",
1118-
"InputActionMap.ResolveBindings"
1141+
"PreUpdate.NewInputUpdate",
1142+
"TouchAllocate",
1143+
"Touchscreen.OnNextUpdate"
11191144
};
11201145

11211146
[PrebuildSetup(typeof(ProjectWideActionsBuildSetup))]

0 commit comments

Comments
 (0)