UNPKG

@dapplion/benchmark

Version:

Ensures that new code does not introduce performance regressions with CI. Tracks:

8 lines (7 loc) 222 B
import util from "node:util"; import child from "node:child_process"; const exec = util.promisify(child.exec); export async function shell(cmd) { const { stdout } = await exec(cmd); return (stdout || "").trim(); }