Skip to content
Snippets Groups Projects
Unverified Commit 2bd187f8 authored by Andrei Eres's avatar Andrei Eres Committed by GitHub
Browse files

[subsystem-bench] Adjust approval-voting-regression-bench (#5115)

Fixes https://github.com/paritytech/polkadot-sdk/issues/5081

After last changes in approval subsystem and their benchmarks base
values need to be updated
parent ac98bc3f
No related merge requests found
Pipeline #486062 waiting for manual action with stages
in 46 minutes and 55 seconds
...@@ -77,12 +77,12 @@ fn main() -> Result<(), String> { ...@@ -77,12 +77,12 @@ fn main() -> Result<(), String> {
// We expect no variance for received and sent // We expect no variance for received and sent
// but use 0.001 because we operate with floats // but use 0.001 because we operate with floats
messages.extend(average_usage.check_network_usage(&[ messages.extend(average_usage.check_network_usage(&[
("Received from peers", 52942.4600, 0.001), ("Received from peers", 52941.6071, 0.001),
("Sent to peers", 63547.0330, 0.001), ("Sent to peers", 63810.1859, 0.001),
])); ]));
messages.extend(average_usage.check_cpu_usage(&[ messages.extend(average_usage.check_cpu_usage(&[
("approval-distribution", 7.4075, 0.1), ("approval-distribution", 6.3912, 0.1),
("approval-voting", 9.9873, 0.1), ("approval-voting", 10.0578, 0.1),
])); ]));
if messages.is_empty() { if messages.is_empty() {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment