Insight
-
Cmn
@ExperimentalInsightApi
class Insight
Individual case of a problem identified in a given trace (from a specific iteration).
Benchmark output will summarize multiple insights, for example:
[JIT Activity](https://d.android.com/test#JIT_ACTIVITY) (expected: < 100000000ns)
seen in iterations: [6](file:///path/to/trace.perfetto-trace)(328462261ns),
Summary
Nested types |
|---|
|
Category represents general expectations that have been violated by an insight - e.g. JIT shouldn't take longer than XX ms, or trampoline activities shouldn't be used. |
@ExperimentalInsightApi |
Public constructors |
|
|---|---|
Insight( |
Cmn
|
Public properties |
||
|---|---|---|
Insight.Category |
Category of the Insight, representing the type of problem. |
Cmn
|
String |
suffix after the deeplink to convey problem severity, e.g. "(100000000ns)" |
Cmn
|
PerfettoTrace.Link |
Link to content within a trace to highlight for the given problem. |
Cmn
|
Public constructors
Public properties
category
val category: Insight.Category
Category of the Insight, representing the type of problem.
Every similar insight must identify equal Categorys to enable macrobenchmark to group them across iterations.
observedLabel
val observedLabel: String
suffix after the deeplink to convey problem severity, e.g. "(100000000ns)"
traceLink
val traceLink: PerfettoTrace.Link
Link to content within a trace to highlight for the given problem.
Insights should specify PerfettoTrace.Link.urlParamsEncoded to pass context to ui.perfetto.dev.