Test Details Overview

Ask the node for its sizes without holding a benchmark lock (#5327)

The elections benchmark could hang. Its wait loop held
pending_confirmation while it called node->active.size (), which waits
for the active elections lock. active_elections notifies
election_started with that lock held and the observer takes
block_timings, while the election_erased observer holds block_timings
and waits for pending_confirmation.

The wait loops of the four node benchmarks now copy their counts out
before they call into the node, and the elections and pipeline
benchmarks set up an iteration taking their locks in the same order as
their observers.

__________

Type: commit

Hash: c7af3cd11a2f7d7be851b23c6bb95d27f5d46322

Created: yesterday

__________

gr0v1ty/nano-node:c7af3cd11a2f7d7be851b23c6bb95d27f5d46322

Test Results

Test Case Status Duration Median Deviation Log Graph
5n4pr_conf_10k_bintree PASS 96 s -89.0 s GitHub job logs Show
5n4pr_conf_10k_change PASS 96 s -156.0 s GitHub job logs Show
5n4pr_conf_change_dependant PASS 118 s 12.0 s GitHub job logs -
5n4pr_conf_change_independant PASS 106 s -2.0 s GitHub job logs -
5n4pr_conf_send_dependant PASS 113 s 4.0 s GitHub job logs -
5n4pr_conf_send_independant PASS 101 s -11.0 s GitHub job logs -
5n4pr_rocks_10k_bintree PASS 83 s -105.0 s GitHub job logs -
5n4pr_rocks_10k_change PASS 120 s -148.0 s GitHub job logs -