Skip to content

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 02 Nov 03:23
· 2 commits to main since this release
4e85ca3
  • Fix: visible_jank (android_jank_frames, compare_traces) counted pure Buffer Stuffing frames, which Android 16
    marks Late Present (631 instead of 74 visible of 934 SystemUI frames). It now also skips dropped buffers superseded
    by a newer buffer of the same layer in the same display frame (new columns dropped, dropped_superseded).
  • android_jank_frames: present cadence of the main layer (stalls over 1.5 vsync, max_gap_ms, stall_ms),
    vsync_ms / refresh_hz and visible_jank_per_s; segment_by_log_tag / end_marker / merge_repeats for one row
    per log-marked operation; group_by=layer; worst_visible_causes lists each frame token once with its layers and
    the token's UI-thread (ui_ms) and RenderThread (rt_ms) time.
  • compare_traces: several runs per side (traces_a / traces_b: medians, per-run values, separated),
    align=marker (marker_tag, end_marker: window = the log-marked span, segments per operation), frame metrics
    frames.visible_jank(_per_s), frames.stalls, frames.stall_ms, frames.max_gap_ms, frames.vsync_ms and a warning
    when the refresh rates differ.
  • execute_sql trace_ids=[...]: the same query on several loaded traces, one result per trace.
  • Built-in capture configs (scenario, idle, boot) record linux.system_info: cpu capacity / cluster ids.
    cpu_top_threads split_by=cluster: CPU time per core cluster (from capacity, else cluster id, else peak frequency).
  • android_logs summary=true: log volume per tag / process and repeated W / E / F lines grouped by pattern (numbers,
    hex, hashes folded; Google apps apart). Overview: repeated_warnings, jit_activity (JIT compilations per process,
    hint when a process runs without AOT code) and composite avg / p50 / p90 / p99 in sf_composition (also matches the
    pre-Android-16 composite slice name).
  • server_stats reports the trace_processor_shell in use; the Linux installer links <prefix>/trace_processor_shell.
  • record_trace: drive_script / drive_command run on the device drive_delay_s (default 2) after tracing starts
    and are killed with their children at the trace end (output tail in drive); repeat / repeat_gap_s record
    several runs back to back and load them all.
  • New tool syscall_stats (system-call count / rate / time, failed calls and the most common errno per thread,
    process or syscall) and built-in capture config syscalls (raw_syscalls enter / exit + sched).
  • Trace processors unused for 30 min are stopped (PERFETTO_IDLE_UNLOAD_MIN, 0 = never); the trace reloads on next
    use. execute_sql names the common traps (Buffer Stuffing, TTID table, vsync ids in SurfaceFlinger slice names).