From 4782e812d8ed5ce67a70454fbde49d89b0dacc61 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Mon, 30 Nov 2026 09:08:24 +0100 Subject: [PATCH] fix(samples): Name the Perfetto sections the Nav3 performance tab emits The panel pointed to a SentryNavEffect.onBackStackChanged section, which nothing emits. Name the sample's own Nav3Stress sections instead. Co-Authored-By: Claude Opus 5.5 --- .../samples/android/navigation/nav3/Nav3Performance.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sentry-android-integration-tests/sentry-samples-android/src/main/java/io/sentry/samples/android/navigation/nav3/Nav3Performance.kt b/sentry-android-integration-tests/sentry-samples-android/src/main/java/io/sentry/samples/android/navigation/nav3/Nav3Performance.kt index 62c181b5b42..2fbc9d0bc37 100644 --- a/sentry-android-integration-tests/sentry-samples-android/src/main/java/io/sentry/samples/android/navigation/nav3/Nav3Performance.kt +++ b/sentry-android-integration-tests/sentry-samples-android/src/main/java/io/sentry/samples/android/navigation/nav3/Nav3Performance.kt @@ -43,8 +43,9 @@ internal fun Nav3PerformanceRoute( title = "Performance", description = "Stress SentryNavEffect with deep stacks, unrelated recompositions, route extraction, and " + - "argument sanitization. Use Perfetto sections like SentryNavEffect.onBackStackChanged and " + - "the Nav3Stress markers to inspect hot paths.", + "argument sanitization. In Perfetto, Nav3Stress.nameExtraction and " + + "Nav3Stress.argumentsExtraction time the mapper, and Nav3Stress.navigationToFirstDraw " + + "times each navigation (API 29+).", currentRoute = "/${route.previewName}", backStack = nav3PerformanceBackStackPreview(backStack.map { entry -> "/${entry.previewName}" }), state = performanceState,