From 010c004d75e35fdc5bed3dc9d9258b60eea17e7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Norte?= Date: Tue, 23 Jul 2024 14:23:03 -0700 Subject: [PATCH] Rename track for performance.mark / measures without custom tracks as Web Performance: Timings to align with Chrome (#45597) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45597 Changelog: [internal] Minor change to align with the Chrome DevTools performance panel. Reviewed By: sammy-SC Differential Revision: D60115147 fbshipit-source-id: bfd7b071fc76e226783ef41bd3f13d941acccec5 --- .../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 9364f6049a2..dcc6d8a0e5e 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(