Brendan Irvine-Broque
@irvinebroque
new — profile Workers CPU and memory in production
npx cf@latest workers versions profile latest \
--worker-id "$WORKER_ID_OR_NAME" \
--duration-ms 5000 \
--profile-type cpu > worker-cpu.pprof
views flamegraphs in the dash or give your agent a pprof file to dig
npx cf@latest workers versions profile latest \
--worker-id "$WORKER_ID_OR_NAME" \
--duration-ms 5000 \
--profile-type cpu > worker-cpu.pprof
views flamegraphs in the dash or give your agent a pprof file to dig
Cloudflare@Cloudflare · Oct 9On-demand CPU and memory profiling for Cloudflare Workers and Durable Objects is now available. Now you can quickly track down memory leaks and performance bottlenecks. cfl.re/47e1Fdo
Open quoted post → 11 173