Test Details Overview

Serialize a flood's message once for all its channels

Every flood serialized its message again for each channel it reached, so a vote broadcast paid the serialization and its allocations once per channel. Channels now accept a message serialized ahead of time through `send_buffer`, counted under the type it was built from, and `network::send_to` serializes once and hands the same buffer to every channel of a flood, the principal representative floods included.

The TCP, fake and in-process channels work from the buffer directly. The loopback and test channels deliver message objects, so they parse a buffer back into one when they are handed it, which only a flood in a test does.

__________

Type: commit

Hash: e31e114e63273e9b2dcfad63ff525d3d9153be0d

Created: 26 day(s) ago

__________

gr0v1ty/nano-node:e31e114e63273e9b2dcfad63ff525d3d9153be0d

Test Results

Test Case Status Duration Median Deviation Log Graph
5n4pr_conf_10k_bintree PASS 496 s 383.0 s GitHub job logs Show
5n4pr_conf_10k_change PASS 148 s 13.0 s GitHub job logs Show
5n4pr_conf_change_dependant PASS 119 s 4.0 s GitHub job logs -
5n4pr_conf_change_independant PASS 341 s 229.0 s GitHub job logs -
5n4pr_conf_send_dependant PASS 115 s 1.0 s GitHub job logs -
5n4pr_conf_send_independant PASS 116 s 3.0 s GitHub job logs -
5n4pr_rocks_10k_bintree PASS 151 s 38.0 s GitHub job logs -
5n4pr_rocks_10k_change PASS 486 s 326.0 s GitHub job logs -