Android Screen Performance OSS

Open-source observability for TTFR/TTI with cancellation and failure tracking [Upcoming]

KotlinAndroidPerfettoOpenTelemetry

Overview

Lightweight Android library that instruments critical render points, captures TTFR/TTI, and ties traces to cancellation and failure reasons to close the loop with product metrics. Currently in development.

Problem

Android apps struggle with performance visibility. Traditional monitoring tools capture crashes and ANRs but miss critical user experience metrics like Time to First Render (TTFR) and Time to Interactive (TTI). Worse, there's no connection between performance drops and user behavior like navigation cancellations or feature abandonment.

Approach

1

Built pluggable interceptors for navigation, rendering, and cold start paths.

2

Added cancellation/failure taxonomy to correlate drops with user intent.

3

Exports traces to OTLP and dashboards with actionable budgets.

Results

Delivered a lightweight library that captures critical render metrics with minimal overhead. Teams can now correlate performance drops with specific user journeys, enabling data-driven optimization decisions. The pluggable architecture supports custom instrumentation while maintaining compatibility with existing observability stacks.

What I'd Do Next

Add real-time alerting for performance regressions, expand trace correlation with business metrics, and build dashboard templates for common performance KPIs. Consider integrating with A/B testing frameworks to measure performance impact on user behavior.