The blog render path (comp-fold + relations + typed-block) JIT-compiles on first call, so the first visitor after a restart paid ~2.5s (vs ~78ms warm) — that was the /:slug p99 tail. Define the route groups once, render / + welcome + nt-live-encore + /otel through a throwaway app at boot to force compilation, then reset the otel ring so warmup spans don't skew live metrics.
9.2 KiB
Executable File
9.2 KiB
Executable File