docs: spelling errors (#15375)
This commit is contained in:

committed by
Igor Minar

parent
8b4edcc7ad
commit
941f194a83
@ -272,7 +272,7 @@ export class PerflogMetric extends Metric {
|
||||
} else if (this._receivedData && name === 'receivedData' && ph === 'I') {
|
||||
result['receivedData'] += event['args']['encodedDataLength'];
|
||||
}
|
||||
if (ph === 'B' && name === _MARK_NAME_FRAME_CAPUTRE) {
|
||||
if (ph === 'B' && name === _MARK_NAME_FRAME_CAPTURE) {
|
||||
if (frameCaptureStartEvent) {
|
||||
throw new Error('can capture frames only once per benchmark run');
|
||||
}
|
||||
@ -281,7 +281,7 @@ export class PerflogMetric extends Metric {
|
||||
'found start event for frame capture, but frame capture was not requested in benchpress');
|
||||
}
|
||||
frameCaptureStartEvent = event;
|
||||
} else if (ph === 'E' && name === _MARK_NAME_FRAME_CAPUTRE) {
|
||||
} else if (ph === 'E' && name === _MARK_NAME_FRAME_CAPTURE) {
|
||||
if (!frameCaptureStartEvent) {
|
||||
throw new Error('missing start event for frame capture');
|
||||
}
|
||||
@ -366,6 +366,6 @@ const _MICRO_ITERATIONS_REGEX = /(.+)\*(\d+)$/;
|
||||
const _MAX_RETRY_COUNT = 20;
|
||||
const _MARK_NAME_PREFIX = 'benchpress';
|
||||
|
||||
const _MARK_NAME_FRAME_CAPUTRE = 'frameCapture';
|
||||
const _MARK_NAME_FRAME_CAPTURE = 'frameCapture';
|
||||
// using 17ms as a somewhat looser threshold, instead of 16.6666ms
|
||||
const _FRAME_TIME_SMOOTH_THRESHOLD = 17;
|
||||
|
Reference in New Issue
Block a user