restorePreSuiteStorage static method

Future<void> restorePreSuiteStorage()

Restores the cached pre-suite storage baseline (capturing it first if needed).

Implementation

static Future<void> restorePreSuiteStorage() async {
  return await RunnerBenchmark.async('lifecycle', 'restorePreSuiteStorage',
      () async {
    await ensurePreSuiteStorageSnapshot();
    await _preSuiteStorageSnapshot!.restore();
  });
}