Skip to content

Commit

Permalink
Have one thread per chain on benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr-ds committed Feb 20, 2025
1 parent 220ab76 commit f15df95
Show file tree
Hide file tree
Showing 7 changed files with 306 additions and 179 deletions.
11 changes: 11 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ colored = "2.1.0"
comfy-table = "7.1.0"
convert_case = "0.6.0"
criterion = { version = "0.5.1", default-features = false }
crossbeam-channel = "0.5.14"
custom_debug_derive = "0.6.1"
dashmap = "5.5.3"
derive_more = "1.0.0"
Expand Down
8 changes: 7 additions & 1 deletion linera-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ version.workspace = true

[features]
test = ["linera-views/test", "linera-execution/test"]
benchmark = ["linera-base/test", "dep:linera-sdk", "dep:tokio-util"]
benchmark = [
"linera-base/test",
"dep:linera-sdk",
"dep:tokio-util",
"dep:crossbeam-channel",
]
wasmer = [
"linera-core/wasmer",
"linera-execution/wasmer",
Expand Down Expand Up @@ -55,6 +60,7 @@ bcs.workspace = true
cfg-if.workspace = true
chrono = { workspace = true, features = ["clock"] }
clap.workspace = true
crossbeam-channel = { workspace = true, optional = true }
derive_more = { workspace = true, features = ["deref", "deref_mut"] }
dirs.workspace = true
futures.workspace = true
Expand Down
Loading

0 comments on commit f15df95

Please sign in to comment.