test: fix and extend benchmarks - #2085
Open
jpnurmi wants to merge 3 commits into
Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2085 +/- ##
==========================================
- Coverage 74.37% 74.32% -0.06%
==========================================
Files 103 103
Lines 26817 26817
Branches 4881 4881
==========================================
- Hits 19946 19931 -15
- Misses 5531 5546 +15
Partials 1340 1340 🚀 New features to boost your workflow:
|
Add benchmark_metrics for multi-threaded metrics throughput. The logs benchmark previously attempted 32x100 logs at peak concurrency, exceeding far the benchmark's configured 10x100 buffer capacity. Overflows caused quick log discards to dominate, making the results look artificially good. Reduce iterations per thread to 32, so the peak of 1,024 logs only slightly exceeds the 1000-log buffer capacity. Track enqueue failures and count only successful enqueues as processed items to make drops visible in the results. Use real time to measure elapsed time across concurrent threads: https://google.github.io/benchmark/user_guide.html#multithreaded-benchmarks
jpnurmi
force-pushed
the
jpnurmi/test/benchmark
branch
from
September 10, 2026 14:46
2011799 to
96a20da
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ref: #1862