From 1218a1b9e697818a0ce7a5e0efe183484ee7a8af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Norte?= Date: Tue, 23 Jul 2024 07:07:52 -0700 Subject: [PATCH] Rename track for performance.mark / measures without custom tracks as Web Performance: Timings to align with Chrome Summary: Changelog: [internal] Minor change to align with the Chrome DevTools performance panel. Differential Revision: D60115147 --- .../react/nativemodule/webperformance/NativePerformance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactCommon/react/nativemodule/webperformance/NativePerformance.cpp b/packages/react-native/ReactCommon/react/nativemodule/webperformance/NativePerformance.cpp index 9364f6049a2f5b..dcc6d8a0e5e945 100644 --- a/packages/react-native/ReactCommon/react/nativemodule/webperformance/NativePerformance.cpp +++ b/packages/react-native/ReactCommon/react/nativemodule/webperformance/NativePerformance.cpp @@ -36,7 +36,7 @@ namespace { #ifdef WITH_PERFETTO const std::string TRACK_PREFIX = "Track:"; -const std::string DEFAULT_TRACK_NAME = "Web Performance"; +const std::string DEFAULT_TRACK_NAME = "Web Performance: Timings"; const std::string CUSTOM_TRACK_NAME_PREFIX = "Web Performance: "; std::tuple parsePerfettoTrack(