Stats overhaul (#4583) * Introduce `nano::elapse ()` helper * Move stats test to a dedicated file * Missing override & smaller improvements * nano::stats::dump * Move implementation to .cpp file * Index stats by a dedicated struct * Remove stat observers * Overhaul * Config * Use dedicated thread * Separate stat sinks * Samples writer * Fix for max size * Simple sampler key * Expected min max * Fix tests * Cleanup * Test for samples rpc * Implement sampling for node components * TODO * Remove special semantics of `stat::detail::all` * Guard against invalid values * Thread loop interval * More tests * Flag to aggregate `stat::detail::all` --------- Co-authored-by: Colin LeMahieu <clemahieu@gmail.com>
__________
Type: commit
Hash: 04de36cb0c5a28d1b976e363bf34377135b8dd25
Created: 332 day(s) ago
__________
gr0v1ty/nano-node:04de36cb0c5a28d1b976e363bf34377135b8dd25
Test Case | Status | Duration | Median Deviation | Log | Graph |
---|---|---|---|---|---|
5n4pr_conf_10k_bintree | PASS | 181 s | 73.0 s | - | Show |
5n4pr_conf_10k_change | PASS | 156 s | 21.0 s | - | Show |
5n4pr_conf_change_dependant | PASS | 152 s | 28.0 s | - | - |
5n4pr_conf_change_independant | PASS | 194 s | 71.0 s | - | - |
5n4pr_conf_send_dependant | PASS | 133 s | 14.0 s | - | - |
5n4pr_conf_send_independant | PASS | 121 s | 3.0 s | - | - |