Philip Z
philz.dev
Philip Z
@philz.dev
"PRAGMA busy_timeout=1000;" is often helpful.
October 28, 2025 at 2:43 AM
Inject requestids into a function name (generate a pass through dynamically one way or another) and attach a sampling profiler. Log slow requests and then find them in the profile.
July 25, 2025 at 3:26 PM
I've seen the "root span" be the "page load" (i.e., the HTTP request that then initiates the websocket connection).
February 19, 2025 at 1:58 AM
Ultimately a profile is a collection of stacks and you can convert into a greppable format and filter appropriately. I spent too much time on blog.philz.dev/blog/flamedu... at some point :)
Drawing flamegraphs with DuckDB and Vega-Lite
It's not all it's cracked up to be.
blog.philz.dev
December 13, 2024 at 1:00 AM