Open problame opened 2 days ago
This PR adds two benchmark to demonstrate the effect of server-side getpage request batching added in https://github.com/neondatabase/neon/pull/9321.
For the CPU usage, I found the the prometheus crate's built-in CPU usage accounts the seconds at integer granularity. That's not enough you reduce the target benchmark runtime for local iteration. So, add a new libmetrics metric and report that.
prometheus
libmetrics
The benchmarks are disabled because on our benchmark nodes, timer resolution isn't high enough. They work (no statement about quality) on my bare-metal devbox.
They will be refined and enabled once we find a fix. Candidates at time of writing are:
Refs:
functions
31.4% (7950 of 25345 functions)
lines
49.3% (63100 of 128036 lines)
* collected from Rust tests only
This PR adds two benchmark to demonstrate the effect of server-side getpage request batching added in https://github.com/neondatabase/neon/pull/9321.
For the CPU usage, I found the the
prometheus
crate's built-in CPU usage accounts the seconds at integer granularity. That's not enough you reduce the target benchmark runtime for local iteration. So, add a newlibmetrics
metric and report that.The benchmarks are disabled because on our benchmark nodes, timer resolution isn't high enough. They work (no statement about quality) on my bare-metal devbox.
They will be refined and enabled once we find a fix. Candidates at time of writing are:
Refs: