mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-24 16:40:38 +00:00
WIP: throughput-oriented walredo benchmark
duplicates some code from bench_walredo.rs build using `cargo bench --benches walredo_throughput` then use like so: target/release/deps/walredo_throughput-38cf92dd3160bcbd --managers 100 --clients-per-manager 1 (need to figure out harness = false stuff) yielded some interesting flamegraphs & tracing overhead, fixed it in this commit; flamegraphs in my notion
This commit is contained in:
@@ -174,7 +174,7 @@ impl WalRedoProcess {
|
||||
// Apply given WAL records ('records') over an old page image. Returns
|
||||
// new page image.
|
||||
//
|
||||
#[instrument(skip_all, fields(tenant_id=%self.tenant_shard_id.tenant_id, shard_id=%self.tenant_shard_id.shard_slug(), pid=%self.id()))]
|
||||
#[instrument(skip_all, level = tracing::Level::DEBUG, fields(tenant_id=%self.tenant_shard_id.tenant_id, shard_id=%self.tenant_shard_id.shard_slug(), pid=%self.id()))]
|
||||
pub(crate) async fn apply_wal_records(
|
||||
&self,
|
||||
rel: RelTag,
|
||||
|
||||
Reference in New Issue
Block a user