-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We introduce bifrost benchpress, a binary that's used to run simulation perf tests focused on bifrost loglets performance. Initial code contains tests to reliably measure local loglet's critical-path single log append latency and write-to-read latency with a given configuration. The benchmark utility is built to give full control over how the benchmark runs, in contrast to criterion which is designed for micro benches.
- Loading branch information
1 parent
009647d
commit f34d8ee
Showing
16 changed files
with
665 additions
and
52 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
[package] | ||
name = "bifrost-benchpress" | ||
version.workspace = true | ||
authors.workspace = true | ||
edition.workspace = true | ||
rust-version.workspace = true | ||
license.workspace = true | ||
publish = false | ||
|
||
[dependencies] | ||
restate-bifrost = { workspace = true, features = ["test-util"] } | ||
restate-core = { workspace = true, features = ["test-util"] } | ||
restate-errors = { workspace = true } | ||
restate-metadata-store = { workspace = true } | ||
restate-rocksdb = { workspace = true } | ||
restate-server = { workspace = true } | ||
restate-test-util = { workspace = true } | ||
restate-tracing-instrumentation = { workspace = true, features = ["console-subscriber"] } | ||
restate-types = { workspace = true, features = ["test-util"] } | ||
|
||
anyhow = { workspace = true } | ||
bytes = { workspace = true } | ||
bytestring = { workspace = true, features = ["serde"] } | ||
clap = { workspace = true, features = ["derive", "env", "color", "help", "wrap_help", "usage", "suggestions", "error-context", "std"] } | ||
codederror = { workspace = true } | ||
figment = { version = "0.10.8", features = ["env", "toml"] } | ||
futures = { workspace = true } | ||
hdrhistogram = { version = "7.5.4" } | ||
metrics = { workspace = true } | ||
metrics-exporter-prometheus = { version = "0.14", default-features = false, features = ["async-runtime"] } | ||
once_cell = { workspace = true } | ||
quanta = { version = "0.12.3" } | ||
rocksdb = { workspace = true } | ||
serde = { workspace = true } | ||
serde_json = { workspace = true } | ||
serde_with = { workspace = true } | ||
smallvec = { workspace = true } | ||
static_assertions = { workspace = true } | ||
strum = { workspace = true } | ||
strum_macros = { workspace = true } | ||
tempfile = { workspace = true } | ||
thiserror = { workspace = true } | ||
tokio = { workspace = true, features = ["test-util"] } | ||
tokio-stream = { workspace = true } | ||
toml = { version = "0.8" } | ||
tracing = { workspace = true } | ||
tracing-subscriber = { workspace = true } | ||
|
||
[target.'cfg(not(target_env = "msvc"))'.dependencies] | ||
tikv-jemallocator = { workspace = true, features = ["unprefixed_malloc_on_supported_platforms"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Bifrost Bench Press | ||
|
||
A simple tool for benchmarking bifrost loglet implementations | ||
|
||
### How to run? | ||
```sh | ||
RUST_LOG=info cargo run --profile=bench --bin bifrost-benchpress -- --config-file=restate.toml --retain-test-dir write-to-read | ||
``` |
Oops, something went wrong.