Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{ Optic, Schema } from
"effect"
2
import
{ Bench } from
"tinybench"
3
4
// Batching bounds sample storage and keeps sub-microsecond timings above timer resolution.
Callers
nothing calls this directly
Calls
9
latencyToNs
Function · 0.85
table
Method · 0.80
batch
Function · 0.70
make
Method · 0.65
key
Method · 0.65
add
Method · 0.65
get
Method · 0.65
replace
Method · 0.45
run
Method · 0.45
Tested by
no test coverage detected