feat: estimate io utilization in the network simulation#25642
Conversation
Signed-off-by: Artur Biesiadowski <artur.biesiadowski@swirldslabs.com>
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
| .forEach(c2cs::add); | ||
|
|
||
| numBytes += engineOutputs.stream() | ||
| .map(ConsensusEngineOutput::consensusRounds) |
There was a problem hiding this comment.
we should not be looking at consensus events but pre-consensus events in this same output
There was a problem hiding this comment.
This is just for the general correctness; we don't expect it to produce any different numbers in the actual test?
There was a problem hiding this comment.
the numbers will be different, there will always be more pre-consensus events than consensus events. i think we are more interested in the number of events that are gossiped, than the number that reach consensus
Signed-off-by: Michael Heinrichs <netopyr@users.noreply.github.com> Signed-off-by: Kelly Greco <kelly@swirldslabs.com> Co-authored-by: Michael Heinrichs <netopyr@users.noreply.github.com>
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
Signed-off-by: Michael Heinrichs <netopyr@users.noreply.github.com> Co-authored-by: Kelly Greco <82919061+poulok@users.noreply.github.com>
Signed-off-by: Josh Marinacci <joshua@marinacci.org>
…25651) Signed-off-by: Ivan Bankov <ivan.bankov@limechain.tech>
Signed-off-by: Michael Heinrichs <netopyr@users.noreply.github.com>
Signed-off-by: Michael Heinrichs <netopyr@users.noreply.github.com> Signed-off-by: Kelly Greco <kelly@swirldslabs.com> Co-authored-by: Michael Heinrichs <netopyr@users.noreply.github.com>
Signed-off-by: Kelly Greco <kelly@swirldslabs.com>
Signed-off-by: Michael Heinrichs <netopyr@users.noreply.github.com> Signed-off-by: Kelly Greco <kelly@swirldslabs.com> Co-authored-by: Michael Heinrichs <netopyr@users.noreply.github.com>
Signed-off-by: Artur Biesiadowski <artur.biesiadowski@swirldslabs.com>
…o 25614-network-simulation-io
Signed-off-by: Artur Biesiadowski <artur.biesiadowski@swirldslabs.com>
Signed-off-by: Artur Biesiadowski <artur.biesiadowski@swirldslabs.com>
Signed-off-by: Artur Biesiadowski <artur.biesiadowski@swirldslabs.com>
Codecov Report❌ Patch coverage is
@@ Coverage Diff @@
## main #25642 +/- ##
=========================================
Coverage 75.10% 75.11%
Complexity 11548 11548
=========================================
Files 2585 2585
Lines 101398 101419 +21
Branches 11233 11240 +7
=========================================
+ Hits 76156 76179 +23
Misses 21335 21335
+ Partials 3907 3905 -2
... and 2 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Description:
Extend MOP network simulator with bandwidth analysis.
Allow running multiple simulations in a single test and report summary results.
Related issue(s):
Fixes #25614
Checklist