MCPcopy Create free account
hub / github.com/TanStack/cli / logTimings

Function logTimings

packages/cli/tests-e2e/helpers.ts:339–347  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

337 timings.push([label, now() - startedAt])
338 }
339 const logTimings = () => {
340 if (!envBoolean('E2E_TIMINGS', true)) {
341 return
342 }
343
344 const totalMs = now() - start
345 const summary = timings.map(([label, ms]) => `${label}=${Math.round(ms)}ms`).join(' | ')
346 console.log(`[e2e:timing] ${options.appName} :: ${summary} | total=${Math.round(totalMs)}ms`)
347 }
348
349 const rootDir = await mkdtemp(join(tmpdir(), 'tanstack-cli-e2e-'))
350 const {

Callers 1

createAppFixtureFunction · 0.85

Calls 3

envBooleanFunction · 0.85
nowFunction · 0.85
logMethod · 0.80

Tested by

no test coverage detected