MCPcopy Create free account
hub / github.com/angular/angular / _endMeasure

Method _endMeasure

packages/benchpress/src/metric/perflog_metric.ts:160–166  ·  view source on GitHub ↗
(restart: boolean)

Source from the content-addressed store, hash-verified

158 }
159
160 private _endMeasure(restart: boolean): Promise<{[key: string]: number}> {
161 const markName = this._markName(this._measureCount - 1);
162 const nextMarkName = restart ? this._markName(this._measureCount++) : null;
163 return this._driverExtension
164 .timeEnd(markName, nextMarkName)
165 .then((_: any) => this._readUntilEndMark(markName));
166 }
167
168 private _readUntilEndMark(
169 markName: string,

Callers 3

endMeasureMethod · 0.95
endMeasureMethod · 0.80

Calls 4

_markNameMethod · 0.95
_readUntilEndMarkMethod · 0.95
thenMethod · 0.65
timeEndMethod · 0.45

Tested by

no test coverage detected