mirror of
https://github.com/denoland/deno.git
synced 2024-12-26 00:59:24 -05:00
787207f11b
Original: c734e32343
16 lines
335 B
TypeScript
16 lines
335 B
TypeScript
import { bench, runBenchmarks } from "./../benching/mod.ts";
|
|
import { runTests } from "./mod.ts";
|
|
|
|
bench(async function testingSerial(b) {
|
|
b.start();
|
|
await runTests();
|
|
b.stop();
|
|
});
|
|
|
|
bench(async function testingParallel(b) {
|
|
b.start();
|
|
await runTests({ parallel: true });
|
|
b.stop();
|
|
});
|
|
|
|
runBenchmarks({ only: /testing/ });
|