Test Details Overview

Benchmark message serialization and floods

Measures what sending costs the sending thread: serializing a vote or a block into the buffer a channel sends, handing a vote to the channels of a flood, and picking those channels among 256 peers. The flood sends to fake channels, which serialize and drop, and the peers are local connections that carry no traffic, so the numbers are the sender's own work. Every benchmark reports time, heap allocations and bytes per message or flood.

The per-channel loop that every flood ended in moves into `network::send_to`, so the benchmark drives the same code as the floods. The allocation counter moves to the shared benchmark header and takes the name of its unit.

__________

Type: commit

Hash: 333097e886a3a1d853b98f7ed9dd10831bc7286b

Created: 26 day(s) ago

__________

gr0v1ty/nano-node:333097e886a3a1d853b98f7ed9dd10831bc7286b

Test Results

Test Case Status Duration Median Deviation Log Graph
5n4pr_conf_10k_bintree PASS 119 s 6.0 s GitHub job logs Show
5n4pr_conf_10k_change PASS 190 s 55.0 s GitHub job logs Show
5n4pr_conf_change_dependant PASS 112 s -3.0 s GitHub job logs -
5n4pr_conf_change_independant PASS 109 s -3.0 s GitHub job logs -
5n4pr_conf_send_dependant PASS 123 s 9.0 s GitHub job logs -
5n4pr_conf_send_independant PASS 133 s 20.0 s GitHub job logs -
5n4pr_rocks_10k_bintree PASS 107 s -6.0 s GitHub job logs -
5n4pr_rocks_10k_change PASS 215 s 55.0 s GitHub job logs -