View on GitHub

android-methods-profiler

Yet another Android Profiler for AOSP .trace files

Trace Comparing

CURRENTLY NOT AVAILABLE IN PLUGIN VERSION

YAMP has additional launch modes for trace comparing: comparing basic traces and flame-charts and comparing aggregated flame charts.

For Russian speaking developers there is a video guide

How to launch comparison of two traces?

  1. Launch YAMP with --cmp flag
  2. In opened window move to File->Open .trace file and select reference trace
  3. Choose method you want to compare by right-click on it and Compare
  4. Select tested trace through dialog

Compare traces

NOTE: further you may select methods you want to compare manually. Just left-click those methods and right-click+Compare on one of the selected methods. This feature also helps when algorithm failed to find automatically method on tested trace.

NOTE: you also may compare flame charts of selected methods same way. Just do right-click+Compare flame charts instead of right-click+Compare

NOTE: you may launch YAMP like --cmp <ref.trace> <tested.trace>. Then 2 windows will be opened with root methods on main thread compared.

What the colors mean?

How to launch comparison of aggregated flame-charts?

  1. Collect several reference and tested traces
  2. Launch YAMP with --agg -ref [<reference.trace>] -tested [<tested.trace>]

Compare flame charts

What the colors mean?

NOTE: select thread you want to compare on left-top button.

USEFUL: press F to make selected methods fit the screen.