Skip to content

Commit 09fa84d

Browse files
apollo_network_benchmark: initial commit
1 parent 079ed26 commit 09fa84d

File tree

5 files changed

+39
-0
lines changed

5 files changed

+39
-0
lines changed

Cargo.lock

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ members = [
6060
"crates/apollo_monitoring_endpoint",
6161
"crates/apollo_monitoring_endpoint_config",
6262
"crates/apollo_network",
63+
"crates/apollo_network_benchmark",
6364
"crates/apollo_network_types",
6465
"crates/apollo_node",
6566
"crates/apollo_node_config",
@@ -177,6 +178,7 @@ apollo_metrics = { path = "crates/apollo_metrics", version = "0.0.0" }
177178
apollo_monitoring_endpoint.path = "crates/apollo_monitoring_endpoint"
178179
apollo_monitoring_endpoint_config.path = "crates/apollo_monitoring_endpoint_config"
179180
apollo_network.path = "crates/apollo_network"
181+
apollo_network_benchmark.path = "crates/apollo_network_benchmark"
180182
apollo_network_types.path = "crates/apollo_network_types"
181183
apollo_node.path = "crates/apollo_node"
182184
apollo_node_config.path = "crates/apollo_node_config"

commitlint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ const AllowedScopes = ['apollo_base_layer_tests',
5353
'apollo_monitoring_endpoint',
5454
'apollo_monitoring_endpoint_config',
5555
'apollo_network',
56+
'apollo_network_benchmark',
5657
'apollo_network_types',
5758
'apollo_node',
5859
'apollo_node_config',
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[package]
2+
name = "apollo_network_benchmark"
3+
version.workspace = true
4+
edition.workspace = true
5+
repository.workspace = true
6+
license-file.workspace = true
7+
8+
[features]
9+
testing = []
10+
11+
[[bin]]
12+
name = "broadcast_network_stress_test_node"
13+
path = "bin/broadcast_network_stress_test_node/main.rs"
14+
15+
[dependencies]
16+
tokio = { workspace = true, features = ["full", "sync"] }
17+
18+
19+
[dev-dependencies]
20+
21+
22+
[lints]
23+
workspace = true
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
//! Runs a node that stress tests the p2p communication of the network.
2+
3+
#[tokio::main]
4+
async fn main() -> Result<(), Box<dyn std::error::Error>> {
5+
Ok(())
6+
}

0 commit comments

Comments
 (0)