mirror of
https://github.com/hanzoai/status.git
synced 2026-10-30 18:21:48 +00:00
White-labelable status monitoring service with all Gatus branding removed. Defaults to neutral "Status" text. Branding is driven entirely by the ui section in config YAML. - Pure Go build (CGO_ENABLED=0, modernc.org/sqlite) - Multi-stage Dockerfile (node frontend + go backend + alpine runtime) - K8s kustomize overlays for hanzo and lux deployments - GitHub Actions CI for GHCR image push - Pre-built Vue frontend with zero upstream branding
12 lines
342 B
Go
12 lines
342 B
Go
package jsonpath
|
|
|
|
import "testing"
|
|
|
|
func BenchmarkEval(b *testing.B) {
|
|
for i := 0; i < b.N; i++ {
|
|
Eval("ids[0]", []byte(`{"ids": [1, 2]}`))
|
|
Eval("long.simple.walk", []byte(`{"long": {"simple": {"walk": "value"}}}`))
|
|
Eval("data[0].apps[1].name", []byte(`{"data": [{"apps": [{"name":"app1"}, {"name":"app2"}, {"name":"app3"}]}]}`))
|
|
}
|
|
}
|