# CPU Profile Analysis — 250 RPS **Captured:** 2026-05-14 12:30:51 CEST **Profile duration:** 60s wall-clock, total samples = 66.57s (110.95% CPU utilization) **Platform:** Darwin arm64 --- ## Top 10 functions by flat CPU time | Rank | Function | Flat % | Cumulative % | |------|----------|-------:|-------------:| | 1 | `regexp.(*machine).add` | 12.90 % | 16.06 % | | 2 | `regexp.(*machine).step` | 5.03 % | 9.03 % | | 3 | `regexp.(*Regexp).tryBacktrack` | 4.90 % | 9.00 % | | 4 | `internal/corazawaf.(*Rule).doEvaluate` | 4.10 % | 75.14 % | | 5 | `strings.ToLower` | 3.76 % | 4.52 % | | 6 | `regexp/syntax.(*Inst).MatchRunePos` | 2.57 % | 3.70 % | | 7 | `runtime.memmove` | 2.15 % | 2.15 % | | 8 | `internal/runtime/syscall/linux.Syscall6` | 2.01 % | 2.01 % | | 9 | `runtime.futex` | 1.86 % | 1.86 % | | 10 | `memeqbody` | 1.85 % | 1.85 % | --- ## Top 10 functions by cumulative CPU time | Rank | Function | Flat % | Cumulative % | |------|----------|-------:|-------------:| | 1 | `net/http.(*conn).serve` | 0.03 % | 88.88 % | | 2 | `net/http.serverHandler.ServeHTTP` | 0.03 % | 85.53 % | | 3 | `modules/caddyhttp.(*Server).ServeHTTP` | 0.03 % | 85.50 % | | 4 | `modules/caddyhttp.(*Server).serveHTTP` | 0.03 % | 84.66 % | | 5 | `modules/caddyhttp.HandlerFunc.ServeHTTP` | 0.04 % | 84.63 % | | 6 | `modules/caddyhttp.(*App).Provision.(*Server).wrapPrimaryRoute.func2` | 0.03 % | 84.59 % | | 7 | `modules/caddyhttp.(*Server).enforcementHandler` | 0.01 % | 84.56 % | | 8 | `modules/caddyhttp.RouteList.Compile.wrapRoute.func1.1` | 0.06 % | 84.54 % | | 9 | `modules/caddyhttp.(*metricsInstrumentedRoute).ServeHTTP` | 0.04 % | 84.47 % | | 10 | `modules/caddyhttp.(*Route).ProvisionHandlers.wrapMiddleware.func1.1` | 0.00 % | 84.11 % | --- *Auto-generated by `scripts/profile_analyze.py` from `cpu_250.pprof`.*