MCPcopy Create free account
hub / github.com/Effect-TS/effect / Optic.ts

File Optic.ts

packages/effect/benchmark/schema/Optic.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Optic, Schema } from "effect"
2import { Bench } from "tinybench"
3
4// Batching bounds sample storage and keeps sub-microsecond timings above timer resolution.

Callers

nothing calls this directly

Calls 9

latencyToNsFunction · 0.85
tableMethod · 0.80
batchFunction · 0.70
makeMethod · 0.65
keyMethod · 0.65
addMethod · 0.65
getMethod · 0.65
replaceMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected