From c6974fb2d88116336b155d78357572510089dd25 Mon Sep 17 00:00:00 2001 From: Lalit Kumar Bhasin Date: Thu, 12 Dec 2024 07:05:52 -0800 Subject: [PATCH] Update stress test results for eventheader (#140) --- stress/Cargo.toml | 4 ++-- stress/src/{user_events_enabled.rs => eventheader.rs} | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) rename stress/src/{user_events_enabled.rs => eventheader.rs} (77%) 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};