Dane Knecht 🦭
@dok2001
Always love a good flamegraph!
Brendan Irvine-Broque@irvinebroque · Oct 9new — 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
Open quoted post →
4 48