@ohos-perf/core 0.15.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +336 -178
- package/dist/index.js +10878 -10631
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4071,6 +4071,341 @@ declare function renderScenesComparison(comparison: ScenesComparison): string;
|
|
|
4071
4071
|
/** Sorts steps by id; exported for a caller assembling them from a run. */
|
|
4072
4072
|
declare function sortSteps(steps: readonly SceneStep[]): SceneStep[];
|
|
4073
4073
|
|
|
4074
|
+
/**
|
|
4075
|
+
* One analyzer's share of a run.
|
|
4076
|
+
*
|
|
4077
|
+
* A skipped analyzer still gets a section, with `status: 'degraded'` and the
|
|
4078
|
+
* placeholder metric/evidence pair the engine synthesizes, so a report can
|
|
4079
|
+
* name the missing capability in place instead of dropping the section.
|
|
4080
|
+
*/
|
|
4081
|
+
interface AnalyzerSection {
|
|
4082
|
+
readonly analyzerId: string;
|
|
4083
|
+
readonly status: 'measured' | 'degraded';
|
|
4084
|
+
readonly result: AnalyzeResult;
|
|
4085
|
+
}
|
|
4086
|
+
/** A whole run: the merged result plus the per-analyzer sections it came from. */
|
|
4087
|
+
interface AnalyzerRun {
|
|
4088
|
+
readonly result: AnalyzeResult;
|
|
4089
|
+
readonly sections: AnalyzerSection[];
|
|
4090
|
+
}
|
|
4091
|
+
/**
|
|
4092
|
+
* Runs every analyzer whose capability requirements are satisfied.
|
|
4093
|
+
*
|
|
4094
|
+
* Analyzers are sorted by `id` and run sequentially, so both the call order
|
|
4095
|
+
* and the merged output are deterministic regardless of the caller's array
|
|
4096
|
+
* order (D5). An analyzer with an unsatisfied requirement is not called: it
|
|
4097
|
+
* contributes one `<id>.degraded` proxy metric and one `degraded_capability`
|
|
4098
|
+
* evidence item naming the missing capabilities and the device's own reasons.
|
|
4099
|
+
* Every analyzer also contributes one {@link AnalyzerSection} to `sections`,
|
|
4100
|
+
* in the same id order, so a report can attribute each metric to its source.
|
|
4101
|
+
*
|
|
4102
|
+
* The returned arrays are new and sorted (`metrics` by `id`, `evidence` by
|
|
4103
|
+
* `(kind, window.startNs, id)`). Two analyzers emitting the same metric id
|
|
4104
|
+
* make the report ambiguous, so the whole run fails with
|
|
4105
|
+
* `DUPLICATE_METRIC_ID` instead of silently keeping one value; the same
|
|
4106
|
+
* integrity rule applies to evidence ids (`DUPLICATE_EVIDENCE_ID`). Neither
|
|
4107
|
+
* the context nor any analyzer (including its result arrays) is mutated.
|
|
4108
|
+
*/
|
|
4109
|
+
declare function runAnalyzerSections(analyzers: readonly Analyzer[], ctx: AnalyzeContext): Promise<AnalyzerRun>;
|
|
4110
|
+
/**
|
|
4111
|
+
* Runs every analyzer and returns only the merged result.
|
|
4112
|
+
*
|
|
4113
|
+
* A thin wrapper over {@link runAnalyzerSections}; existing callers keep the
|
|
4114
|
+
* old shape and behavior exactly.
|
|
4115
|
+
*/
|
|
4116
|
+
declare function runAnalyzers(analyzers: readonly Analyzer[], ctx: AnalyzeContext): Promise<AnalyzeResult>;
|
|
4117
|
+
/**
|
|
4118
|
+
* The analyzers an offline `analyze` run executes by default.
|
|
4119
|
+
*
|
|
4120
|
+
* Additional analyzers are appended as they are implemented; the function
|
|
4121
|
+
* returns a fresh array so callers may add or remove entries without
|
|
4122
|
+
* affecting another run.
|
|
4123
|
+
*/
|
|
4124
|
+
declare function defaultAnalyzers(): Analyzer[];
|
|
4125
|
+
|
|
4126
|
+
/** The report document schema. A change to any shape below bumps this. */
|
|
4127
|
+
declare const REPORT_SCHEMA_VERSION = 1;
|
|
4128
|
+
/** Who produced the report; the version is the CLI package version. */
|
|
4129
|
+
interface ReportGenerator {
|
|
4130
|
+
name: string;
|
|
4131
|
+
version: string;
|
|
4132
|
+
}
|
|
4133
|
+
/** The scene the report describes. Inputs are copied, never referenced. */
|
|
4134
|
+
interface ReportScenario {
|
|
4135
|
+
app: {
|
|
4136
|
+
packageName: string;
|
|
4137
|
+
processNames: string[];
|
|
4138
|
+
};
|
|
4139
|
+
device: string;
|
|
4140
|
+
window: TimeRange;
|
|
4141
|
+
/** Capture start from `scene.json`; absent when the scene did not record one. */
|
|
4142
|
+
startedAtNs?: number;
|
|
4143
|
+
/**
|
|
4144
|
+
* The screenshot the bundle carries at `assets/screenshot.png`. Present only
|
|
4145
|
+
* when the scene had one, so a renderer can tell "no image" from "an image
|
|
4146
|
+
* whose size it was not told".
|
|
4147
|
+
*/
|
|
4148
|
+
screenshot?: {
|
|
4149
|
+
width: number;
|
|
4150
|
+
height: number;
|
|
4151
|
+
};
|
|
4152
|
+
}
|
|
4153
|
+
/** One analyzer's contribution, ready for rendering. */
|
|
4154
|
+
interface ReportSection {
|
|
4155
|
+
/** The analyzer id, e.g. `frames`. Also the HTML section anchor. */
|
|
4156
|
+
id: string;
|
|
4157
|
+
title: string;
|
|
4158
|
+
status: 'measured' | 'degraded';
|
|
4159
|
+
/** The engine's explanation of why the analyzer was skipped. */
|
|
4160
|
+
degradedReason?: string;
|
|
4161
|
+
/** Sorted by `id`, as the engine emits them. */
|
|
4162
|
+
metrics: Metric[];
|
|
4163
|
+
/** Sorted by `(kind, window.startNs, id)`, as the engine emits them. */
|
|
4164
|
+
evidence: Evidence[];
|
|
4165
|
+
}
|
|
4166
|
+
interface ReportTotals {
|
|
4167
|
+
metrics: number;
|
|
4168
|
+
evidence: number;
|
|
4169
|
+
bySeverity: {
|
|
4170
|
+
info: number;
|
|
4171
|
+
warn: number;
|
|
4172
|
+
critical: number;
|
|
4173
|
+
};
|
|
4174
|
+
measured: number;
|
|
4175
|
+
degraded: number;
|
|
4176
|
+
}
|
|
4177
|
+
/** The complete, versioned report document. */
|
|
4178
|
+
interface ReportModel {
|
|
4179
|
+
schemaVersion: typeof REPORT_SCHEMA_VERSION;
|
|
4180
|
+
generator: ReportGenerator;
|
|
4181
|
+
scenario: ReportScenario;
|
|
4182
|
+
sections: ReportSection[];
|
|
4183
|
+
totals: ReportTotals;
|
|
4184
|
+
comparison?: BaselineComparison;
|
|
4185
|
+
}
|
|
4186
|
+
/** Everything `buildReport` needs; all values are already measured. */
|
|
4187
|
+
interface ReportInput {
|
|
4188
|
+
generator: ReportGenerator;
|
|
4189
|
+
app: AppIdentity;
|
|
4190
|
+
device: string;
|
|
4191
|
+
window: TimeRange;
|
|
4192
|
+
startedAtNs?: number;
|
|
4193
|
+
sections: readonly AnalyzerSection[];
|
|
4194
|
+
comparison?: BaselineComparison;
|
|
4195
|
+
/**
|
|
4196
|
+
* The scene's screenshot dimensions, when one was captured. The report copies
|
|
4197
|
+
* the file to `assets/screenshot.png` and renders it in the `ui` section; the
|
|
4198
|
+
* dimensions are here so the page can state them without decoding the PNG
|
|
4199
|
+
* again. Absent means no image was captured, and the page says so instead of
|
|
4200
|
+
* pointing at a file that does not exist.
|
|
4201
|
+
*/
|
|
4202
|
+
screenshot?: {
|
|
4203
|
+
width: number;
|
|
4204
|
+
height: number;
|
|
4205
|
+
};
|
|
4206
|
+
}
|
|
4207
|
+
/** The compact roll-up written to `summary.json`. */
|
|
4208
|
+
interface ReportSummary {
|
|
4209
|
+
schemaVersion: typeof REPORT_SCHEMA_VERSION;
|
|
4210
|
+
app: string;
|
|
4211
|
+
device: string;
|
|
4212
|
+
window: TimeRange;
|
|
4213
|
+
sections: Array<{
|
|
4214
|
+
id: string;
|
|
4215
|
+
title: string;
|
|
4216
|
+
status: 'measured' | 'degraded';
|
|
4217
|
+
degradedReason?: string;
|
|
4218
|
+
metrics: number;
|
|
4219
|
+
evidence: number;
|
|
4220
|
+
}>;
|
|
4221
|
+
totals: ReportTotals;
|
|
4222
|
+
comparison?: Record<DeltaStatus, number>;
|
|
4223
|
+
}
|
|
4224
|
+
/**
|
|
4225
|
+
* Human titles for the analyzers shipped today.
|
|
4226
|
+
*
|
|
4227
|
+
* An id absent here titles as itself: a new analyzer renders honestly before
|
|
4228
|
+
* anyone writes its title, instead of failing the report.
|
|
4229
|
+
*/
|
|
4230
|
+
declare const SECTION_TITLES: Readonly<Record<string, string>>;
|
|
4231
|
+
/**
|
|
4232
|
+
* Builds the report document from a section-aware engine run.
|
|
4233
|
+
*
|
|
4234
|
+
* The inputs are copied and sorted, never mutated. Sorting repeats the engine's
|
|
4235
|
+
* order so a model assembled by hand (as in tests) is just as deterministic as
|
|
4236
|
+
* one produced by `runAnalyzerSections` — the report must be byte-stable (D5)
|
|
4237
|
+
* no matter which layer produced its parts.
|
|
4238
|
+
*/
|
|
4239
|
+
declare function buildReport(input: ReportInput): ReportModel;
|
|
4240
|
+
/** Collapses the model to its per-section counts and totals. */
|
|
4241
|
+
declare function summarizeReport(model: ReportModel): ReportSummary;
|
|
4242
|
+
/**
|
|
4243
|
+
* The canonical JSON serialization for `report.json` and `summary.json`.
|
|
4244
|
+
*
|
|
4245
|
+
* Two-space indent plus a trailing newline matches `analyze --json`, so a
|
|
4246
|
+
* consumer reads every document in this package the same way.
|
|
4247
|
+
*/
|
|
4248
|
+
declare function renderReportJson(model: ReportModel): string;
|
|
4249
|
+
declare function renderSummaryJson(summary: ReportSummary): string;
|
|
4250
|
+
|
|
4251
|
+
/**
|
|
4252
|
+
* Multi-run trend aggregation (HapRay parity row 35, the aggregation half).
|
|
4253
|
+
*
|
|
4254
|
+
* HapRay's `PerfMulti.vue` accepts any set of report HTML files, extracts the
|
|
4255
|
+
* embedded JSON from each, and draws the total load and the per-category load
|
|
4256
|
+
* across them. It asks the user to filter by app, ROM version, app version and
|
|
4257
|
+
* scene — because the page has no model that could tell comparable runs from
|
|
4258
|
+
* incomparable ones, so the filtering is left to a human reading four
|
|
4259
|
+
* dropdowns.
|
|
4260
|
+
*
|
|
4261
|
+
* A trend line is a claim that the runs are comparable: that the same app was
|
|
4262
|
+
* measured the same way, and that a movement along the x axis is a change in
|
|
4263
|
+
* the app rather than a change in what was measured. So this module refuses
|
|
4264
|
+
* the inputs that make the claim false — different apps, a duplicated label —
|
|
4265
|
+
* and makes the rest of the claim visible: the ordering is stated, a metric a
|
|
4266
|
+
* run never emitted is a gap rather than a zero, and a delta is taken between
|
|
4267
|
+
* the first and last run that actually measured the metric.
|
|
4268
|
+
*
|
|
4269
|
+
* ## What a gap means
|
|
4270
|
+
*
|
|
4271
|
+
* Plotting 0 for "this run did not emit `frame.count`" would draw a collapse
|
|
4272
|
+
* to zero and a recovery, which is a much stronger claim than "the analyzer
|
|
4273
|
+
* did not run". The point is `null`, the series counts its `measured` points,
|
|
4274
|
+
* and the HTML prints the count beside the name. A *degraded* metric counts as
|
|
4275
|
+
* a gap too: its zero is the engine's stand-in for "nothing to read", so a
|
|
4276
|
+
* series of them is a series of gaps — kept, so the metric that was not
|
|
4277
|
+
* measured is named, but drawn as nothing.
|
|
4278
|
+
*/
|
|
4279
|
+
/** One run's metrics, named and identified well enough to be compared. */
|
|
4280
|
+
interface TrendRun {
|
|
4281
|
+
/** Unique across the trend; the x-axis label. */
|
|
4282
|
+
readonly label: string;
|
|
4283
|
+
readonly app: string;
|
|
4284
|
+
readonly device: string;
|
|
4285
|
+
/** Capture start, when the run recorded one. Absent disables time ordering. */
|
|
4286
|
+
readonly startedAtNs?: number;
|
|
4287
|
+
readonly metrics: readonly Metric[];
|
|
4288
|
+
}
|
|
4289
|
+
/** One run's value for one metric; `null` when the run did not emit it. */
|
|
4290
|
+
interface TrendPoint {
|
|
4291
|
+
readonly label: string;
|
|
4292
|
+
readonly value: number | string | null;
|
|
4293
|
+
/** The metric's fidelity in this run, when it emitted the metric. */
|
|
4294
|
+
readonly fidelity?: Metric['fidelity'];
|
|
4295
|
+
}
|
|
4296
|
+
interface TrendSeries {
|
|
4297
|
+
readonly id: string;
|
|
4298
|
+
readonly unit: Metric['unit'];
|
|
4299
|
+
/** One point per run, in `TrendOrder` order. */
|
|
4300
|
+
readonly points: readonly TrendPoint[];
|
|
4301
|
+
/** How many runs emitted the metric. */
|
|
4302
|
+
readonly measured: number;
|
|
4303
|
+
/** Difference between the first and last measured numeric points. */
|
|
4304
|
+
readonly delta?: number;
|
|
4305
|
+
/** Percent change over the same two points; absent when the first is 0. */
|
|
4306
|
+
readonly deltaPct?: number;
|
|
4307
|
+
/**
|
|
4308
|
+
* `improved` / `regressed` / `unchanged` when the metric has a known
|
|
4309
|
+
* direction and both ends are numeric; absent otherwise. Unlike a two-way
|
|
4310
|
+
* comparison there is no `added`/`removed`/`incomparable` here: a series
|
|
4311
|
+
* exists because at least one run emitted it, and a metric with no known
|
|
4312
|
+
* direction simply carries no verdict.
|
|
4313
|
+
*/
|
|
4314
|
+
readonly status?: 'improved' | 'regressed' | 'unchanged';
|
|
4315
|
+
/** Every run's fidelity, deduplicated and sorted; more than one means mixed. */
|
|
4316
|
+
readonly fidelities: readonly Metric['fidelity'][];
|
|
4317
|
+
}
|
|
4318
|
+
/** How the runs were ordered. Stated so a reader knows what the x axis means. */
|
|
4319
|
+
type TrendOrder = 'startedAtNs' | 'argument';
|
|
4320
|
+
interface Trend {
|
|
4321
|
+
readonly runs: readonly TrendRun[];
|
|
4322
|
+
readonly orderedBy: TrendOrder;
|
|
4323
|
+
/** Sorted by id, so two renders of the same input are byte-identical. */
|
|
4324
|
+
readonly series: readonly TrendSeries[];
|
|
4325
|
+
}
|
|
4326
|
+
/**
|
|
4327
|
+
* Aggregate two or more runs into one trend.
|
|
4328
|
+
*
|
|
4329
|
+
* Throws — rather than filtering silently — when the inputs cannot support the
|
|
4330
|
+
* claim: fewer than two runs, a duplicate label (the x axis would have two
|
|
4331
|
+
* points in one column), or runs from different apps. `device` is deliberately
|
|
4332
|
+
* not a refusal: a trend across two devices is a legitimate question, and the
|
|
4333
|
+
* runs table names the device of every point so the reader can see it.
|
|
4334
|
+
*/
|
|
4335
|
+
declare function buildTrend(runs: readonly TrendRun[]): Trend;
|
|
4336
|
+
/** The canonical JSON serialization for `trend.json`. */
|
|
4337
|
+
declare function renderTrendJson(trend: Trend): string;
|
|
4338
|
+
/**
|
|
4339
|
+
* Flatten one saved report into a run.
|
|
4340
|
+
*
|
|
4341
|
+
* The report model is the input because it is what `report` writes to disk:
|
|
4342
|
+
* the metrics are already sorted by id per section, so the flattened list is
|
|
4343
|
+
* deterministic without a second sort. A section with no metrics contributes
|
|
4344
|
+
* nothing; the run's `metrics.length` is the sum the runs table reports.
|
|
4345
|
+
*/
|
|
4346
|
+
declare function trendRunFromReport(label: string, model: ReportModel): TrendRun;
|
|
4347
|
+
/**
|
|
4348
|
+
* Render the trend as one self-contained HTML document.
|
|
4349
|
+
*
|
|
4350
|
+
* Same rules as the report page: no scripts, no external resources, every
|
|
4351
|
+
* interpolation escaped. The runs table names each run's label, app, device
|
|
4352
|
+
* and start so the reader can judge comparability themselves; the series
|
|
4353
|
+
* table carries the numbers a polyline cannot show.
|
|
4354
|
+
*/
|
|
4355
|
+
declare function renderTrendHtml(trend: Trend): string;
|
|
4356
|
+
|
|
4357
|
+
/**
|
|
4358
|
+
* Re-rendering a saved report bundle (HapRay parity row 33, the last clause).
|
|
4359
|
+
*
|
|
4360
|
+
* HapRay's `update` re-runs the whole report from the scene directory when the
|
|
4361
|
+
* code changes: it re-analyzes, then rewrites the page. That makes an old
|
|
4362
|
+
* report a function of *today's* code, not of what was measured — two people
|
|
4363
|
+
* opening the same saved run on different versions see different numbers.
|
|
4364
|
+
*
|
|
4365
|
+
* This package's `report.json` is a typed model, not an analyzer payload dump:
|
|
4366
|
+
* every metric keeps its value, unit, window, provenance and fidelity, and
|
|
4367
|
+
* every evidence item keeps its subject and signals. So a bundle can be
|
|
4368
|
+
* re-rendered from `report.json` alone — no scene, no device, no analyzer —
|
|
4369
|
+
* and the page a reader saved is the page they get back.
|
|
4370
|
+
*
|
|
4371
|
+
* ## What a re-render cannot reproduce
|
|
4372
|
+
*
|
|
4373
|
+
* The flamegraph is drawn from folded stacks, which are not in the model: they
|
|
4374
|
+
* are a query over `perf_sample`, and copying them into `report.json` would
|
|
4375
|
+
* double the document's size for a drawing. A re-render therefore writes no
|
|
4376
|
+
* flamegraph rather than an empty canvas, which would be a picture of a
|
|
4377
|
+
* capture in which nothing ran. The screenshot is the same story from the
|
|
4378
|
+
* other side: `assets/screenshot.png` is a copied file, not a value, so the
|
|
4379
|
+
* caller supplies it or the page renders without it.
|
|
4380
|
+
*/
|
|
4381
|
+
/**
|
|
4382
|
+
* The artifacts a re-render produces, in the order `report` writes them.
|
|
4383
|
+
*
|
|
4384
|
+
* `assets/screenshot.png` is absent: it is a copied file, so it is the
|
|
4385
|
+
* caller's to place beside the page.
|
|
4386
|
+
*/
|
|
4387
|
+
declare const BUNDLE_RENDERED_FILES: readonly [
|
|
4388
|
+
'report.html',
|
|
4389
|
+
'report.json',
|
|
4390
|
+
'summary.json',
|
|
4391
|
+
'metrics.csv',
|
|
4392
|
+
'evidence.csv',
|
|
4393
|
+
'report.xlsx'
|
|
4394
|
+
];
|
|
4395
|
+
interface BundleRerenderInput {
|
|
4396
|
+
/** The document `report.json` holds. */
|
|
4397
|
+
readonly model: ReportModel;
|
|
4398
|
+
}
|
|
4399
|
+
/**
|
|
4400
|
+
* Render the bundle from its model.
|
|
4401
|
+
*
|
|
4402
|
+
* The result is `[name, content]` pairs in {@link BUNDLE_RENDERED_FILES}
|
|
4403
|
+
* order, ready to write. It is a pure function of the model — the same
|
|
4404
|
+
* document always produces the same bytes, which is what makes a re-render
|
|
4405
|
+
* checkable against the bundle it came from.
|
|
4406
|
+
*/
|
|
4407
|
+
declare function renderBundle(input: BundleRerenderInput): Array<[string, string | Uint8Array]>;
|
|
4408
|
+
|
|
4074
4409
|
/**
|
|
4075
4410
|
* Executing one scenario action against a device.
|
|
4076
4411
|
*
|
|
@@ -5523,58 +5858,6 @@ declare class ComponentReuseAnalyzer implements Analyzer {
|
|
|
5523
5858
|
run(ctx: AnalyzeContext): Promise<AnalyzeResult>;
|
|
5524
5859
|
}
|
|
5525
5860
|
|
|
5526
|
-
/**
|
|
5527
|
-
* One analyzer's share of a run.
|
|
5528
|
-
*
|
|
5529
|
-
* A skipped analyzer still gets a section, with `status: 'degraded'` and the
|
|
5530
|
-
* placeholder metric/evidence pair the engine synthesizes, so a report can
|
|
5531
|
-
* name the missing capability in place instead of dropping the section.
|
|
5532
|
-
*/
|
|
5533
|
-
interface AnalyzerSection {
|
|
5534
|
-
readonly analyzerId: string;
|
|
5535
|
-
readonly status: 'measured' | 'degraded';
|
|
5536
|
-
readonly result: AnalyzeResult;
|
|
5537
|
-
}
|
|
5538
|
-
/** A whole run: the merged result plus the per-analyzer sections it came from. */
|
|
5539
|
-
interface AnalyzerRun {
|
|
5540
|
-
readonly result: AnalyzeResult;
|
|
5541
|
-
readonly sections: AnalyzerSection[];
|
|
5542
|
-
}
|
|
5543
|
-
/**
|
|
5544
|
-
* Runs every analyzer whose capability requirements are satisfied.
|
|
5545
|
-
*
|
|
5546
|
-
* Analyzers are sorted by `id` and run sequentially, so both the call order
|
|
5547
|
-
* and the merged output are deterministic regardless of the caller's array
|
|
5548
|
-
* order (D5). An analyzer with an unsatisfied requirement is not called: it
|
|
5549
|
-
* contributes one `<id>.degraded` proxy metric and one `degraded_capability`
|
|
5550
|
-
* evidence item naming the missing capabilities and the device's own reasons.
|
|
5551
|
-
* Every analyzer also contributes one {@link AnalyzerSection} to `sections`,
|
|
5552
|
-
* in the same id order, so a report can attribute each metric to its source.
|
|
5553
|
-
*
|
|
5554
|
-
* The returned arrays are new and sorted (`metrics` by `id`, `evidence` by
|
|
5555
|
-
* `(kind, window.startNs, id)`). Two analyzers emitting the same metric id
|
|
5556
|
-
* make the report ambiguous, so the whole run fails with
|
|
5557
|
-
* `DUPLICATE_METRIC_ID` instead of silently keeping one value; the same
|
|
5558
|
-
* integrity rule applies to evidence ids (`DUPLICATE_EVIDENCE_ID`). Neither
|
|
5559
|
-
* the context nor any analyzer (including its result arrays) is mutated.
|
|
5560
|
-
*/
|
|
5561
|
-
declare function runAnalyzerSections(analyzers: readonly Analyzer[], ctx: AnalyzeContext): Promise<AnalyzerRun>;
|
|
5562
|
-
/**
|
|
5563
|
-
* Runs every analyzer and returns only the merged result.
|
|
5564
|
-
*
|
|
5565
|
-
* A thin wrapper over {@link runAnalyzerSections}; existing callers keep the
|
|
5566
|
-
* old shape and behavior exactly.
|
|
5567
|
-
*/
|
|
5568
|
-
declare function runAnalyzers(analyzers: readonly Analyzer[], ctx: AnalyzeContext): Promise<AnalyzeResult>;
|
|
5569
|
-
/**
|
|
5570
|
-
* The analyzers an offline `analyze` run executes by default.
|
|
5571
|
-
*
|
|
5572
|
-
* Additional analyzers are appended as they are implemented; the function
|
|
5573
|
-
* returns a fresh array so callers may add or remove entries without
|
|
5574
|
-
* affecting another run.
|
|
5575
|
-
*/
|
|
5576
|
-
declare function defaultAnalyzers(): Analyzer[];
|
|
5577
|
-
|
|
5578
5861
|
/**
|
|
5579
5862
|
* Resolves the analyzed package to the identity every analyzer receives.
|
|
5580
5863
|
*
|
|
@@ -5793,131 +6076,6 @@ declare function analyzeHap(bytes: Uint8Array, packageName: string): HapAnalysis
|
|
|
5793
6076
|
/** Wrap an analysis as the `static-hap` section the report renderer takes. */
|
|
5794
6077
|
declare function hapSection(analysis: HapAnalysis): AnalyzerSection;
|
|
5795
6078
|
|
|
5796
|
-
/** The report document schema. A change to any shape below bumps this. */
|
|
5797
|
-
declare const REPORT_SCHEMA_VERSION = 1;
|
|
5798
|
-
/** Who produced the report; the version is the CLI package version. */
|
|
5799
|
-
interface ReportGenerator {
|
|
5800
|
-
name: string;
|
|
5801
|
-
version: string;
|
|
5802
|
-
}
|
|
5803
|
-
/** The scene the report describes. Inputs are copied, never referenced. */
|
|
5804
|
-
interface ReportScenario {
|
|
5805
|
-
app: {
|
|
5806
|
-
packageName: string;
|
|
5807
|
-
processNames: string[];
|
|
5808
|
-
};
|
|
5809
|
-
device: string;
|
|
5810
|
-
window: TimeRange;
|
|
5811
|
-
/** Capture start from `scene.json`; absent when the scene did not record one. */
|
|
5812
|
-
startedAtNs?: number;
|
|
5813
|
-
/**
|
|
5814
|
-
* The screenshot the bundle carries at `assets/screenshot.png`. Present only
|
|
5815
|
-
* when the scene had one, so a renderer can tell "no image" from "an image
|
|
5816
|
-
* whose size it was not told".
|
|
5817
|
-
*/
|
|
5818
|
-
screenshot?: {
|
|
5819
|
-
width: number;
|
|
5820
|
-
height: number;
|
|
5821
|
-
};
|
|
5822
|
-
}
|
|
5823
|
-
/** One analyzer's contribution, ready for rendering. */
|
|
5824
|
-
interface ReportSection {
|
|
5825
|
-
/** The analyzer id, e.g. `frames`. Also the HTML section anchor. */
|
|
5826
|
-
id: string;
|
|
5827
|
-
title: string;
|
|
5828
|
-
status: 'measured' | 'degraded';
|
|
5829
|
-
/** The engine's explanation of why the analyzer was skipped. */
|
|
5830
|
-
degradedReason?: string;
|
|
5831
|
-
/** Sorted by `id`, as the engine emits them. */
|
|
5832
|
-
metrics: Metric[];
|
|
5833
|
-
/** Sorted by `(kind, window.startNs, id)`, as the engine emits them. */
|
|
5834
|
-
evidence: Evidence[];
|
|
5835
|
-
}
|
|
5836
|
-
interface ReportTotals {
|
|
5837
|
-
metrics: number;
|
|
5838
|
-
evidence: number;
|
|
5839
|
-
bySeverity: {
|
|
5840
|
-
info: number;
|
|
5841
|
-
warn: number;
|
|
5842
|
-
critical: number;
|
|
5843
|
-
};
|
|
5844
|
-
measured: number;
|
|
5845
|
-
degraded: number;
|
|
5846
|
-
}
|
|
5847
|
-
/** The complete, versioned report document. */
|
|
5848
|
-
interface ReportModel {
|
|
5849
|
-
schemaVersion: typeof REPORT_SCHEMA_VERSION;
|
|
5850
|
-
generator: ReportGenerator;
|
|
5851
|
-
scenario: ReportScenario;
|
|
5852
|
-
sections: ReportSection[];
|
|
5853
|
-
totals: ReportTotals;
|
|
5854
|
-
comparison?: BaselineComparison;
|
|
5855
|
-
}
|
|
5856
|
-
/** Everything `buildReport` needs; all values are already measured. */
|
|
5857
|
-
interface ReportInput {
|
|
5858
|
-
generator: ReportGenerator;
|
|
5859
|
-
app: AppIdentity;
|
|
5860
|
-
device: string;
|
|
5861
|
-
window: TimeRange;
|
|
5862
|
-
startedAtNs?: number;
|
|
5863
|
-
sections: readonly AnalyzerSection[];
|
|
5864
|
-
comparison?: BaselineComparison;
|
|
5865
|
-
/**
|
|
5866
|
-
* The scene's screenshot dimensions, when one was captured. The report copies
|
|
5867
|
-
* the file to `assets/screenshot.png` and renders it in the `ui` section; the
|
|
5868
|
-
* dimensions are here so the page can state them without decoding the PNG
|
|
5869
|
-
* again. Absent means no image was captured, and the page says so instead of
|
|
5870
|
-
* pointing at a file that does not exist.
|
|
5871
|
-
*/
|
|
5872
|
-
screenshot?: {
|
|
5873
|
-
width: number;
|
|
5874
|
-
height: number;
|
|
5875
|
-
};
|
|
5876
|
-
}
|
|
5877
|
-
/** The compact roll-up written to `summary.json`. */
|
|
5878
|
-
interface ReportSummary {
|
|
5879
|
-
schemaVersion: typeof REPORT_SCHEMA_VERSION;
|
|
5880
|
-
app: string;
|
|
5881
|
-
device: string;
|
|
5882
|
-
window: TimeRange;
|
|
5883
|
-
sections: Array<{
|
|
5884
|
-
id: string;
|
|
5885
|
-
title: string;
|
|
5886
|
-
status: 'measured' | 'degraded';
|
|
5887
|
-
degradedReason?: string;
|
|
5888
|
-
metrics: number;
|
|
5889
|
-
evidence: number;
|
|
5890
|
-
}>;
|
|
5891
|
-
totals: ReportTotals;
|
|
5892
|
-
comparison?: Record<DeltaStatus, number>;
|
|
5893
|
-
}
|
|
5894
|
-
/**
|
|
5895
|
-
* Human titles for the analyzers shipped today.
|
|
5896
|
-
*
|
|
5897
|
-
* An id absent here titles as itself: a new analyzer renders honestly before
|
|
5898
|
-
* anyone writes its title, instead of failing the report.
|
|
5899
|
-
*/
|
|
5900
|
-
declare const SECTION_TITLES: Readonly<Record<string, string>>;
|
|
5901
|
-
/**
|
|
5902
|
-
* Builds the report document from a section-aware engine run.
|
|
5903
|
-
*
|
|
5904
|
-
* The inputs are copied and sorted, never mutated. Sorting repeats the engine's
|
|
5905
|
-
* order so a model assembled by hand (as in tests) is just as deterministic as
|
|
5906
|
-
* one produced by `runAnalyzerSections` — the report must be byte-stable (D5)
|
|
5907
|
-
* no matter which layer produced its parts.
|
|
5908
|
-
*/
|
|
5909
|
-
declare function buildReport(input: ReportInput): ReportModel;
|
|
5910
|
-
/** Collapses the model to its per-section counts and totals. */
|
|
5911
|
-
declare function summarizeReport(model: ReportModel): ReportSummary;
|
|
5912
|
-
/**
|
|
5913
|
-
* The canonical JSON serialization for `report.json` and `summary.json`.
|
|
5914
|
-
*
|
|
5915
|
-
* Two-space indent plus a trailing newline matches `analyze --json`, so a
|
|
5916
|
-
* consumer reads every document in this package the same way.
|
|
5917
|
-
*/
|
|
5918
|
-
declare function renderReportJson(model: ReportModel): string;
|
|
5919
|
-
declare function renderSummaryJson(summary: ReportSummary): string;
|
|
5920
|
-
|
|
5921
6079
|
/**
|
|
5922
6080
|
* One CSV row per metric, in model order (sections by id, metrics by id).
|
|
5923
6081
|
*
|
|
@@ -6001,4 +6159,4 @@ interface FlamegraphPageInput {
|
|
|
6001
6159
|
*/
|
|
6002
6160
|
declare function renderFlamegraphHtml(input: FlamegraphPageInput): string;
|
|
6003
6161
|
|
|
6004
|
-
export { ANIMATION_BANDS, type ActionContext, type ActionDevice, type ActionOutcome, type ActiveAlloc, type AnalyzeContext, type AnalyzeResult, type Analyzer, type AnalyzerRun, type AnalyzerSection, type AnimationAnalysis, type AnimationLabel, type AnimationSeverity, type AppIdentity, type BaselineComparison, type BelowThresholdPattern, type BinderAnalysis, BinderAnalyzer, type BinderEndpoint, type BinderEvent, type BinderInterfaceStat, type BinderProcessStat, BinderQuery, type BinderThreadStat, type BinderTransaction, CATEGORY_EXTENSIONS, CATEGORY_MAX_BYTES, COLLECTOR_NAMES, type CallchainSample, type CallstackEvent, type CallstackEventWithArgs, CallstackQuery, type CapabilityId, type CapabilityInputs, CapabilityMatrix, type CapabilityState, type CaseLoad, type CategoryTotal, type CollectOptions, type CollectSession, type Collector, type CollectorName, type CompiledRule, type ComponentReuse, ComponentReuseAnalyzer, type ConnectOptions, type ContentPattern, type CreateEmulatorRequest, DEFAULT_HILOG_RULES, DEFAULT_QUERY_LIMIT, DEVICE_PERF_PATH, DEVICE_SCREENSHOT_PATH, DEVICE_UI_PATH, type DeltaStatus, type DepGraph, type DepGraphEdge, type DepGraphFile, Device, type DeviceDeps, type DeviceIdentity, DeviceNotFoundError, type DiscoveredCase, type DrillDownHandle, type DuplicateGroup, EXCLUDE_PATTERNS, EmptyFrameAnalyzer, type EmptyFrameFilter, type EmulatorBackend, EmulatorClient, type EmulatorClientOptions, EmulatorCommandError, type EmulatorImage, EmulatorImageMissingError, type EmulatorInstance, EmulatorLifecycle, type EmulatorLifecycleOptions, EmulatorNotFoundError, type EmulatorStartResult, type EmulatorStopResult, type Env, type Evidence, type EvidenceKind, type ExpectPresent, type ExpectationOutcome, FLAMEGRAPH_FILES, FPS_COMMAND, FTRACE_CATEGORIES, FaultTreeAnalyzer, type FaultTreeSignals, type Fidelity, type FileCategory, type FileRule, FlamegraphAnalyzer, type FlamegraphPageInput, type FoldedStack, type FpsBucket, type FpsWindow, type Frame, FrameAnalyzer, type FrameFlag, FrameLoadAnalyzer, FrameLoadIndex, type FrameLoadIndexInput, type FrameLoadThread, FrameQuery, type FrameStats, type FrameType, type FtraceOptions, GEOMETRY_TOLERANCE_PX, GcAnalyzer, type GcSignals, type Gesture, GestureDriver, type GestureResult, HILOG_COMMAND, HIPROFILER_PLUGIN_NAMES, HITCH_COMMAND, HITRACE_DEFAULT_CATEGORIES, type HapAnalysis, type HapPackage, type HarEdge, Hdc, HdcNotFoundError, type HdcOptions, type HdcResult, type HdcSlice, type HdcTarget, type HidumperCapture, HidumperCollector, type HidumperSnapshot, HilogAnalyzer, HilogCollector, type HilogLevel, type HilogLine, type HilogMatch, type HilogParseOptions, type HilogRule, type HiperfCapture, type HiperfCollectOptions, HiperfCollector, type HiprofilerCollectOptions, type HiprofilerCollectRequest, HiprofilerCollector, type HiprofilerConfigOptions, type HiprofilerPlugin, type HiprofilerPluginName, HitraceCollector, IGNORED_ATTRIBUTES, type ImageComparison, IngestError, InstantQuery, type InventoryFile, type JsheapCapture, JsheapCollector, MAX_QUERY_LIMIT, METRIC_DIRECTIONS, MIN_BUFFER_PAGES, MIN_HASH_PIXELS, MemMeasureQuery, MemoryAnalyzer, MemoryMeasureAnalyzer, type MemoryPluginOptions, type MetadataPattern, type Metric, type MetricDelta, type MetricDirection, type MetricUnit, type ModuleDecl, type NamedQueryDefinition, type NamedQueryInfo, type NamedQueryResult, type NativeCategory, type NativeEventKind, type NativeHookEvent, type NativeHookFrame, NativeHookQuery, type NativeHookStatistic, NativeMemoryAnalyzer, type NativeMemoryResult, type NativeNames, type NativeTimelineBucket, type NativehookOptions, OhosPerfError, type OptimizationPotential, type OversizedFile, PARITY_ROWS, PLANE_A_PLUGINS, type ParityRow, type ParityStatus, type PerfCallchain, type PerfFileAttribution, type PerfFunction, type PerfLeafAttribution, PerfQuery, type PerfSampleRow, type PerfThread, type PixelOnlyChange, type ProbeResult, type ProbeRunner, type ProbeSnapshot, type ProcessInfo, type ProcessMeasure, type ProcessMeasureFilter, ProcessQuery, ProcfsCollector, type ProcfsSample, type ProcfsStatus, type Provenance, type QueryArgument, type QueryContext, type QueryHandle, REPORT_SCHEMA_VERSION, type Rect, type RedundancyLevel, type RedundancyType, RedundantFileAnalyzer, type RedundantFileEntry, type RedundantFileReport, type RedundantThreadPattern, type RedundantThreadsSummary, type RegionPixelChange, RenderAnalyzer, type ReportGenerator, type ReportInput, type ReportModel, type ReportScenario, type ReportSection, type ReportSummary, type ReportTotals, type RgbaImage, RsSkipAnalyzer, type RsSkipFrame, type RsSkipResult, type RsSkipTraceMethod, type RuleMatch, type RuleMatchKind, type RunOptions, type RunResult, type RunStepResult, type RunnerCollectOptions, type RunnerDevice, SECTION_TITLES, type Scenario, type ScenarioAction, ScenarioRunner, type ScenarioStep, Scene, type SceneLayout, type SceneMetadata, type SceneStep, type SceneStepRef, type ScenesComparison, SchedQuery, type SchedSlice, type ScreenshotCapture, ScreenshotCollector, type Selector, type SelectorRect, type SmapsRollup, StartupAnalyzer, StartupQuery, type StartupRecord, type StepCapture, type StepComparison, type StepExpectation, type StepStatus, Streamer, StreamerNotFoundError, type StreamerOptions, type SymbolStat, SymbolsAnalyzer, TECH_RULES, type TechRule, type ThreadAnalysis, type ThreadAnalysisSummary, ThreadAnalyzer, type ThreadInfo, ThreadQuery, type ThreadState, ThreadStateQuery, type ThreadWakeupResult, type ThreadWakeupThread, type TimeRange, type TimingCycle, type TraceCollectOptions, UI_DIFF_FILES, UiAnalyzer, type UiCompareOptions, type UiDiff, type UiDiffSide, type UiNode, type UiTreeDiff, type UiTreeDifference, UitestCollector, type UnmeasuredRegion, type UnreleasedRow, type VsyncAnalysis, VsyncAnalyzer, type VsyncPeriod, type VsyncPeriodKind, type VsyncSeverity, type WakeupEvent, type WindowHitches, type ZipArchive, type ZipEntry, aggregateUnreleased, analyseAnimations, analyzeHap, analyzeThreadWakeup, animationSeverity, buildDepGraph, buildHiprofilerConfig, buildInventory, buildMatrix, buildNativeTimeline, buildReport, categorize, classifyNativePath, compareImages, compareRegion, compareResults, compareSceneDirs, compareScenes, compileRules, computeBinderAnalysis, computeComponentReuse, computeFaultTree, computeFpsWindows, computeGc, computeRsSkip, computeThreadAnalysis, computeVsyncAnomalies, connect, createSceneLayout, cropRegion, decodePng, defaultAnalyzers, dhash, diffTrees, discoverCases, encodePng, escapeHtml, evidence, executeAction, filterEmptyFrames, flattenUiTree, ftracePlugin, gpuPlugin, hapSection, hiperfRecordCommand, ingestScene, isUnresolvedSymbol, isZip, loadCases, lookupQuery, markRegions, matchHapRules, matchRules, matchSelector, memoryPlugin, metric, nativeEventKind, nativehookPlugin, nodeIdentity, openDb, openZip, pairNativeMemory, paritySummary, parseBounds, parseFpsCounts, parseHilogLine, parseHilogText, parseHiperfSummary, parseHitches, parseProcfsStatus, parseRedundantFile, parseScenario, parseSelector, parseSmapsRollup, queryDefinitions, readHidumperCapture, readHilogText, readJsheapSnapshot, readProcfsSamples, readSceneMetadata, readUiTree, renderEvidenceCsv, renderFlamegraphHtml, renderFlamegraphSvg, renderMetricsCsv, renderReportHtml, renderReportJson, renderReportXlsx, renderScenesComparison, renderSummaryJson, renderUiDiffHtml, resolveAppIdentity, resolveAppIpids, resolveQueryLimit, resolveSelector, round2HalfEven, runAnalyzerSections, runAnalyzers, runDrillDown, runNamedQuery, runProbe, sortSteps, summarizeReport, tableRowCounts, unknownQueryError, validateRules, writeProcfsSamples, writeRunFiles, writeSceneMetadata, xpowerPlugin };
|
|
6162
|
+
export { ANIMATION_BANDS, type ActionContext, type ActionDevice, type ActionOutcome, type ActiveAlloc, type AnalyzeContext, type AnalyzeResult, type Analyzer, type AnalyzerRun, type AnalyzerSection, type AnimationAnalysis, type AnimationLabel, type AnimationSeverity, type AppIdentity, BUNDLE_RENDERED_FILES, type BaselineComparison, type BelowThresholdPattern, type BinderAnalysis, BinderAnalyzer, type BinderEndpoint, type BinderEvent, type BinderInterfaceStat, type BinderProcessStat, BinderQuery, type BinderThreadStat, type BinderTransaction, type BundleRerenderInput, CATEGORY_EXTENSIONS, CATEGORY_MAX_BYTES, COLLECTOR_NAMES, type CallchainSample, type CallstackEvent, type CallstackEventWithArgs, CallstackQuery, type CapabilityId, type CapabilityInputs, CapabilityMatrix, type CapabilityState, type CaseLoad, type CategoryTotal, type CollectOptions, type CollectSession, type Collector, type CollectorName, type CompiledRule, type ComponentReuse, ComponentReuseAnalyzer, type ConnectOptions, type ContentPattern, type CreateEmulatorRequest, DEFAULT_HILOG_RULES, DEFAULT_QUERY_LIMIT, DEVICE_PERF_PATH, DEVICE_SCREENSHOT_PATH, DEVICE_UI_PATH, type DeltaStatus, type DepGraph, type DepGraphEdge, type DepGraphFile, Device, type DeviceDeps, type DeviceIdentity, DeviceNotFoundError, type DiscoveredCase, type DrillDownHandle, type DuplicateGroup, EXCLUDE_PATTERNS, EmptyFrameAnalyzer, type EmptyFrameFilter, type EmulatorBackend, EmulatorClient, type EmulatorClientOptions, EmulatorCommandError, type EmulatorImage, EmulatorImageMissingError, type EmulatorInstance, EmulatorLifecycle, type EmulatorLifecycleOptions, EmulatorNotFoundError, type EmulatorStartResult, type EmulatorStopResult, type Env, type Evidence, type EvidenceKind, type ExpectPresent, type ExpectationOutcome, FLAMEGRAPH_FILES, FPS_COMMAND, FTRACE_CATEGORIES, FaultTreeAnalyzer, type FaultTreeSignals, type Fidelity, type FileCategory, type FileRule, FlamegraphAnalyzer, type FlamegraphPageInput, type FoldedStack, type FpsBucket, type FpsWindow, type Frame, FrameAnalyzer, type FrameFlag, FrameLoadAnalyzer, FrameLoadIndex, type FrameLoadIndexInput, type FrameLoadThread, FrameQuery, type FrameStats, type FrameType, type FtraceOptions, GEOMETRY_TOLERANCE_PX, GcAnalyzer, type GcSignals, type Gesture, GestureDriver, type GestureResult, HILOG_COMMAND, HIPROFILER_PLUGIN_NAMES, HITCH_COMMAND, HITRACE_DEFAULT_CATEGORIES, type HapAnalysis, type HapPackage, type HarEdge, Hdc, HdcNotFoundError, type HdcOptions, type HdcResult, type HdcSlice, type HdcTarget, type HidumperCapture, HidumperCollector, type HidumperSnapshot, HilogAnalyzer, HilogCollector, type HilogLevel, type HilogLine, type HilogMatch, type HilogParseOptions, type HilogRule, type HiperfCapture, type HiperfCollectOptions, HiperfCollector, type HiprofilerCollectOptions, type HiprofilerCollectRequest, HiprofilerCollector, type HiprofilerConfigOptions, type HiprofilerPlugin, type HiprofilerPluginName, HitraceCollector, IGNORED_ATTRIBUTES, type ImageComparison, IngestError, InstantQuery, type InventoryFile, type JsheapCapture, JsheapCollector, MAX_QUERY_LIMIT, METRIC_DIRECTIONS, MIN_BUFFER_PAGES, MIN_HASH_PIXELS, MemMeasureQuery, MemoryAnalyzer, MemoryMeasureAnalyzer, type MemoryPluginOptions, type MetadataPattern, type Metric, type MetricDelta, type MetricDirection, type MetricUnit, type ModuleDecl, type NamedQueryDefinition, type NamedQueryInfo, type NamedQueryResult, type NativeCategory, type NativeEventKind, type NativeHookEvent, type NativeHookFrame, NativeHookQuery, type NativeHookStatistic, NativeMemoryAnalyzer, type NativeMemoryResult, type NativeNames, type NativeTimelineBucket, type NativehookOptions, OhosPerfError, type OptimizationPotential, type OversizedFile, PARITY_ROWS, PLANE_A_PLUGINS, type ParityRow, type ParityStatus, type PerfCallchain, type PerfFileAttribution, type PerfFunction, type PerfLeafAttribution, PerfQuery, type PerfSampleRow, type PerfThread, type PixelOnlyChange, type ProbeResult, type ProbeRunner, type ProbeSnapshot, type ProcessInfo, type ProcessMeasure, type ProcessMeasureFilter, ProcessQuery, ProcfsCollector, type ProcfsSample, type ProcfsStatus, type Provenance, type QueryArgument, type QueryContext, type QueryHandle, REPORT_SCHEMA_VERSION, type Rect, type RedundancyLevel, type RedundancyType, RedundantFileAnalyzer, type RedundantFileEntry, type RedundantFileReport, type RedundantThreadPattern, type RedundantThreadsSummary, type RegionPixelChange, RenderAnalyzer, type ReportGenerator, type ReportInput, type ReportModel, type ReportScenario, type ReportSection, type ReportSummary, type ReportTotals, type RgbaImage, RsSkipAnalyzer, type RsSkipFrame, type RsSkipResult, type RsSkipTraceMethod, type RuleMatch, type RuleMatchKind, type RunOptions, type RunResult, type RunStepResult, type RunnerCollectOptions, type RunnerDevice, SECTION_TITLES, type Scenario, type ScenarioAction, ScenarioRunner, type ScenarioStep, Scene, type SceneLayout, type SceneMetadata, type SceneStep, type SceneStepRef, type ScenesComparison, SchedQuery, type SchedSlice, type ScreenshotCapture, ScreenshotCollector, type Selector, type SelectorRect, type SmapsRollup, StartupAnalyzer, StartupQuery, type StartupRecord, type StepCapture, type StepComparison, type StepExpectation, type StepStatus, Streamer, StreamerNotFoundError, type StreamerOptions, type SymbolStat, SymbolsAnalyzer, TECH_RULES, type TechRule, type ThreadAnalysis, type ThreadAnalysisSummary, ThreadAnalyzer, type ThreadInfo, ThreadQuery, type ThreadState, ThreadStateQuery, type ThreadWakeupResult, type ThreadWakeupThread, type TimeRange, type TimingCycle, type TraceCollectOptions, type Trend, type TrendOrder, type TrendPoint, type TrendRun, type TrendSeries, UI_DIFF_FILES, UiAnalyzer, type UiCompareOptions, type UiDiff, type UiDiffSide, type UiNode, type UiTreeDiff, type UiTreeDifference, UitestCollector, type UnmeasuredRegion, type UnreleasedRow, type VsyncAnalysis, VsyncAnalyzer, type VsyncPeriod, type VsyncPeriodKind, type VsyncSeverity, type WakeupEvent, type WindowHitches, type ZipArchive, type ZipEntry, aggregateUnreleased, analyseAnimations, analyzeHap, analyzeThreadWakeup, animationSeverity, buildDepGraph, buildHiprofilerConfig, buildInventory, buildMatrix, buildNativeTimeline, buildReport, buildTrend, categorize, classifyNativePath, compareImages, compareRegion, compareResults, compareSceneDirs, compareScenes, compileRules, computeBinderAnalysis, computeComponentReuse, computeFaultTree, computeFpsWindows, computeGc, computeRsSkip, computeThreadAnalysis, computeVsyncAnomalies, connect, createSceneLayout, cropRegion, decodePng, defaultAnalyzers, dhash, diffTrees, discoverCases, encodePng, escapeHtml, evidence, executeAction, filterEmptyFrames, flattenUiTree, ftracePlugin, gpuPlugin, hapSection, hiperfRecordCommand, ingestScene, isUnresolvedSymbol, isZip, loadCases, lookupQuery, markRegions, matchHapRules, matchRules, matchSelector, memoryPlugin, metric, nativeEventKind, nativehookPlugin, nodeIdentity, openDb, openZip, pairNativeMemory, paritySummary, parseBounds, parseFpsCounts, parseHilogLine, parseHilogText, parseHiperfSummary, parseHitches, parseProcfsStatus, parseRedundantFile, parseScenario, parseSelector, parseSmapsRollup, queryDefinitions, readHidumperCapture, readHilogText, readJsheapSnapshot, readProcfsSamples, readSceneMetadata, readUiTree, renderBundle, renderEvidenceCsv, renderFlamegraphHtml, renderFlamegraphSvg, renderMetricsCsv, renderReportHtml, renderReportJson, renderReportXlsx, renderScenesComparison, renderSummaryJson, renderTrendHtml, renderTrendJson, renderUiDiffHtml, resolveAppIdentity, resolveAppIpids, resolveQueryLimit, resolveSelector, round2HalfEven, runAnalyzerSections, runAnalyzers, runDrillDown, runNamedQuery, runProbe, sortSteps, summarizeReport, tableRowCounts, trendRunFromReport, unknownQueryError, validateRules, writeProcfsSamples, writeRunFiles, writeSceneMetadata, xpowerPlugin };
|