INNER CODE UNIT · TypeScript

runBaseSuites

microsoft/graphitation · packages/apollo-forest-run-benchmark/src/index.ts:61

const runBaseSuites = async (): Promise<WorkerResult[]> => {
  const allResults: WorkerResult[] = [];

  for (const suite of BASE_SUITES) {
    console.log(
      `\n=== Running benchmarks for ${suite.cacheFactory.name} with ${suite.cacheConfig.name} in isolated process ===`,
    );

    const result = await spawnProcess(suite);
    allResults.push(result);
    console.log(
      `Completed ${suite.cacheFactory.name}/${suite.cacheConfig.name} with ${result.results.length} results`,
    );
  }

  return allResults;
};

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…