mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-12 12:21:34 +00:00
Backend: add parallel cpu benchmarks processing (#603)
* Add parallel cpu benchmarks processing * Expose Parallel Hashrate Score in UI (as 'Parallel CPU speed') * Remove unused variable and fix cfg(debug) * Fix tests after removing old_chain_name * Update Dockerfile * bullseye for both images --------- Co-authored-by: Volodymyr Brazhnyk <volbr@pm.me>
This commit is contained in:
@@ -98,6 +98,9 @@ pub struct NodeHwBench {
|
||||
pub memory_memcpy_score: u64,
|
||||
pub disk_sequential_write_score: Option<u64>,
|
||||
pub disk_random_write_score: Option<u64>,
|
||||
pub parallel_cpu_hashrate_score: Option<u64>,
|
||||
//// Dev note: this exists but isn't needed yet:
|
||||
// pub parallel_cpu_cores: Option<usize>,
|
||||
}
|
||||
|
||||
impl Payload {
|
||||
|
||||
@@ -73,6 +73,11 @@ pub struct NodeHwBench {
|
||||
pub disk_sequential_write_score: Option<u64>,
|
||||
/// Random disk write speed in MB/s.
|
||||
pub disk_random_write_score: Option<u64>,
|
||||
/// The parallel CPU speed, as measured in how many MB/s it can hash using the BLAKE2b-256 hash.
|
||||
pub parallel_cpu_hashrate_score: Option<u64>,
|
||||
//// Dev note: this exists but isn't needed yet:
|
||||
// /// The number of cores used for the parallel CPU benchmark.
|
||||
// pub parallel_cpu_cores: Option<usize>,
|
||||
}
|
||||
|
||||
/// A couple of node statistics.
|
||||
|
||||
Reference in New Issue
Block a user