pagebench: add a 'basebackup' benchmark

This commit is contained in:
Christian Schwarz
2023-12-13 13:45:56 +00:00
parent 0b9f0e72ac
commit 27a35331c0
9 changed files with 529 additions and 5 deletions

23
Cargo.lock generated
View File

@@ -2106,6 +2106,20 @@ dependencies = [
"hashbrown 0.13.2",
]
[[package]]
name = "hdrhistogram"
version = "7.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "765c9198f173dd59ce26ff9f95ef0aafd0a0fe01fb9d72841bc5066a4c06511d"
dependencies = [
"base64 0.21.1",
"byteorder",
"crossbeam-channel",
"flate2",
"nom",
"num-traits",
]
[[package]]
name = "heapless"
version = "0.8.0"
@@ -3062,7 +3076,16 @@ version = "0.1.0"
dependencies = [
"anyhow",
"clap",
"futures",
"hdrhistogram",
"humantime",
"humantime-serde",
"pageserver",
"rand 0.8.5",
"serde",
"serde_json",
"tokio",
"tracing",
"utils",
]