MCPcopy
hub / github.com/vercel/next.js / test

Function test

bench/recursive-copy/run.js:23–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21
22async function run(fn) {
23 async function test() {
24 const start = process.hrtime()
25
26 await fn(srcDir, destDir)
27
28 const timer = process.hrtime(start)
29 const ms = (timer[0] * 1e9 + timer[1]) / 1e6
30 return ms
31 }
32
33 const ts = []
34

Calls 1

fnFunction · 0.50

Tested by

no test coverage detected