Skip to content

Commit

Permalink
[subsystem-bench] Adjust approval-voting-regression-bench (paritytech…
Browse files Browse the repository at this point in the history
…#5115)

Fixes paritytech#5081

After last changes in approval subsystem and their benchmarks base
values need to be updated
  • Loading branch information
AndreiEres authored and TarekkMA committed Aug 2, 2024
1 parent a9ef336 commit 2f18d45
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ fn main() -> Result<(), String> {
// We expect no variance for received and sent
// but use 0.001 because we operate with floats
messages.extend(average_usage.check_network_usage(&[
("Received from peers", 52942.4600, 0.001),
("Sent to peers", 63547.0330, 0.001),
("Received from peers", 52941.6071, 0.001),
("Sent to peers", 63810.1859, 0.001),
]));
messages.extend(average_usage.check_cpu_usage(&[
("approval-distribution", 7.4075, 0.1),
("approval-voting", 9.9873, 0.1),
("approval-distribution", 6.3912, 0.1),
("approval-voting", 10.0578, 0.1),
]));

if messages.is_empty() {
Expand Down

0 comments on commit 2f18d45

Please sign in to comment.