MCPcopy Index your code
hub / github.com/Effect-TS/effect / time

Function time

packages/effect/src/internal/console.ts:101–107  ·  view source on GitHub ↗
(label?: string)

Source from the content-addressed store, hash-verified

99
100/** @internal */
101export const time = (label?: string) =>
102 consoleWith((_) =>
103 fiberRuntime.acquireRelease(
104 _.time(label),
105 () => _.timeEnd(label)
106 )
107 )
108
109/** @internal */
110export const timeLog = (label?: string, ...args: ReadonlyArray<any>) => consoleWith((_) => _.timeLog(label, ...args))

Callers

nothing calls this directly

Calls 3

consoleWithFunction · 0.85
timeMethod · 0.65
timeEndMethod · 0.65

Tested by

no test coverage detected