diff --git a/stress/Cargo.toml b/stress/Cargo.toml index 652d9ece..30f923ee 100644 --- a/stress/Cargo.toml +++ b/stress/Cargo.toml @@ -5,8 +5,8 @@ edition = "2021" publish = false [[bin]] # Bin to run the metrics stress tests for Logs UserEvent Exporter -name = "user-events-enabled" -path = "src/user_events_enabled.rs" +name = "eventheader" +path = "src/eventheader.rs" doc = false [dependencies] diff --git a/stress/src/user_events_enabled.rs b/stress/src/eventheader.rs similarity index 77% rename from stress/src/user_events_enabled.rs rename to stress/src/eventheader.rs index ef418f0c..134729ba 100644 --- a/stress/src/user_events_enabled.rs +++ b/stress/src/eventheader.rs @@ -1,7 +1,10 @@ // To run the test, execute the following command in the stress directory as sudo: -// sudo -E ~/.cargo/bin/cargo rnu --bin user-events-enabled --release +// sudo -E ~/.cargo/bin/cargo run --bin eventheader --release -- -// TODO : Add stess result here. +// Conf - AMD EPYC 7763 64-Core Processor 2.44 GHz, 64GB RAM, Cores:8 , Logical processors: 16 +// Number of threads 1: 231,423,880 iterations/sec +// Number of threads 2: 27,482,150 iterations/sec +// Number of threads 16: 26,651,534 iterations/sec mod throughput; use eventheader_dynamic::{Provider, ProviderOptions};