
Occasionally the promise to clear the chrome buffer resolves after the subsequent call to start the timer. This problem causes flakiness in our tests that rely on benchpress, usually manifesting itself as a "Tried too often to get the ending mark: 21" error thrown by this line: https://github.com/angular/angular/blob/master/packages/benchpress/src/metric/perflog_metric.ts#L162 PR Close #23458