You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Capture clickhouse profile events in query summaries. (#10172)
ClickHouse includes a collection of profile events by default when using
the native tcp client. This patch captures those events, aggregating
them by type and including aggregated profile events in the optional
query profile section. We also make use of these profile summaries in
the oxql benchmark, adding a new benchmark type that measures query cpu
usage rather than latency.
Context: I wanted to evaluate #10110 more rigorously, and Claude noticed
that we had access to clickhouse profiling events already. Looking at
cpu profiles for that patch actually showed that latency improvements
came at the cost of higher cpu use, which is annoying but useful to
know.
0 commit comments