Skip to content

Commit

Permalink
Update benchmarks to not use test-util from restate-core
Browse files Browse the repository at this point in the history
  • Loading branch information
tillrohrmann committed Aug 15, 2024
1 parent ef39f7b commit 651f634
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion benchmarks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ default = []
frame-pointer = ["pprof/frame-pointer"]

[dependencies]
restate-core = { workspace = true, features = ["test-util"] }
restate-core = { workspace = true }
restate-node = { workspace = true }
restate-rocksdb = { workspace = true }
restate-server = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ See the [node services' readme](https://github.com/restatedev/e2e/blob/a500164a3
All benchmarks can be run via:

```shell
cargo bench
cargo bench --package restate-benchmarks
```

To run a single benchmark run it via:

```shell
cargo bench --bench throughput_parallel
cargo bench --package restate-benchmarks --bench throughput_parallel
```

## Profiling the benchmarks
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ pub fn spawn_restate(config: Configuration) -> TaskCenter {
tc.run_in_scope_sync("db-manager-init", None, || {
RocksDbManager::init(Constant::new(config.common))
});
tc.spawn(TaskKind::TestRunner, "benchmark", None, async move {
tc.spawn(TaskKind::SystemBoot, "benchmark", None, async move {
let node = Node::create(updateable_config)
.await
.expect("Restate node must build");
Expand Down

0 comments on commit 651f634

Please sign in to comment.