Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/expr-lang/expr
/ Env
Struct
Env
bench_test.go:97–99 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
95
96
func
Benchmark_filter(b *testing.B) {
97
type
Env
struct
{
98
Ints []int
99
}
100
env := Env{
101
Ints: make([]int, 1000),
102
}
Callers
15
Benchmark_expr
Function · 0.92
Benchmark_expr_reuseVm
Function · 0.92
Benchmark_len
Function · 0.92
Benchmark_filter
Function · 0.92
Benchmark_filterLen
Function · 0.92
Benchmark_filterFirst
Function · 0.92
Benchmark_filterLast
Function · 0.92
Benchmark_filterMap
Function · 0.92
Benchmark_arrayIndex
Function · 0.92
Benchmark_envStruct
Function · 0.92
Benchmark_envMap
Function · 0.92
Benchmark_callFunc
Function · 0.92
Calls
no outgoing calls
Tested by
15
Benchmark_expr
Function · 0.74
Benchmark_expr_reuseVm
Function · 0.74
Benchmark_len
Function · 0.74
Benchmark_filter
Function · 0.74
Benchmark_filterLen
Function · 0.74
Benchmark_filterFirst
Function · 0.74
Benchmark_filterLast
Function · 0.74
Benchmark_filterMap
Function · 0.74
Benchmark_arrayIndex
Function · 0.74
Benchmark_envStruct
Function · 0.74
Benchmark_envMap
Function · 0.74
Benchmark_callFunc
Function · 0.74