perf_metrics_summary
Creates, updates, deletes, gets or lists a perf_metrics_summary resource.
Overview
| Name | perf_metrics_summary |
| Type | Resource |
| Id | firebase.toolresults.perf_metrics_summary |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
create | insert | projectId, historyId, executionId, stepId | Creates a PerfMetricsSummary resource. Returns the existing one if it has already been created. May return any of the following error code(s): - NOT_FOUND - The containing Step does not exist |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
executionId | string | |
historyId | string | |
projectId | string | |
stepId | string |
INSERT examples
- create
- Manifest
Creates a PerfMetricsSummary resource. Returns the existing one if it has already been created. May return any of the following error code(s): - NOT_FOUND - The containing Step does not exist
INSERT INTO firebase.toolresults.perf_metrics_summary (
data__graphicsStats,
data__perfEnvironment,
data__stepId,
data__executionId,
data__perfMetrics,
data__projectId,
data__historyId,
data__appStartTime,
projectId,
historyId,
executionId,
stepId
)
SELECT
'{{ graphicsStats }}',
'{{ perfEnvironment }}',
'{{ stepId }}',
'{{ executionId }}',
'{{ perfMetrics }}',
'{{ projectId }}',
'{{ historyId }}',
'{{ appStartTime }}',
'{{ projectId }}',
'{{ historyId }}',
'{{ executionId }}',
'{{ stepId }}'
RETURNING
appStartTime,
executionId,
graphicsStats,
historyId,
perfEnvironment,
perfMetrics,
projectId,
stepId
;
# Description fields are for documentation purposes
- name: perf_metrics_summary
props:
- name: projectId
value: "{{ projectId }}"
description: Required parameter for the perf_metrics_summary resource.
- name: historyId
value: "{{ historyId }}"
description: Required parameter for the perf_metrics_summary resource.
- name: executionId
value: "{{ executionId }}"
description: Required parameter for the perf_metrics_summary resource.
- name: stepId
value: "{{ stepId }}"
description: Required parameter for the perf_metrics_summary resource.
- name: graphicsStats
description: |
Graphics statistics for the entire run. Statistics are reset at the beginning of the run and collected at the end of the run.
value:
p95Millis: "{{ p95Millis }}"
slowDrawCount: "{{ slowDrawCount }}"
p50Millis: "{{ p50Millis }}"
highInputLatencyCount: "{{ highInputLatencyCount }}"
p90Millis: "{{ p90Millis }}"
slowBitmapUploadCount: "{{ slowBitmapUploadCount }}"
buckets:
- renderMillis: "{{ renderMillis }}"
frameCount: "{{ frameCount }}"
slowUiThreadCount: "{{ slowUiThreadCount }}"
jankyFrames: "{{ jankyFrames }}"
p99Millis: "{{ p99Millis }}"
missedVsyncCount: "{{ missedVsyncCount }}"
totalFrames: "{{ totalFrames }}"
- name: perfEnvironment
description: |
Describes the environment in which the performance metrics were collected
value:
cpuInfo:
cpuSpeedInGhz: {{ cpuSpeedInGhz }}
cpuProcessor: "{{ cpuProcessor }}"
numberOfCores: {{ numberOfCores }}
memoryInfo:
memoryTotalInKibibyte: "{{ memoryTotalInKibibyte }}"
memoryCapInKibibyte: "{{ memoryCapInKibibyte }}"
- name: stepId
value: "{{ stepId }}"
description: |
A tool results step ID. @OutputOnly
- name: executionId
value: "{{ executionId }}"
description: |
A tool results execution ID. @OutputOnly
- name: perfMetrics
value:
- "{{ perfMetrics }}"
description: |
Set of resource collected
- name: projectId
value: "{{ projectId }}"
description: |
The cloud project @OutputOnly
- name: historyId
value: "{{ historyId }}"
description: |
A tool results history ID. @OutputOnly
- name: appStartTime
value:
initialDisplayTime:
seconds: "{{ seconds }}"
nanos: {{ nanos }}
fullyDrawnTime:
seconds: "{{ seconds }}"
nanos: {{ nanos }}