mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 11:07:56 +00:00
Remove duplicate units (#12634)
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
617fa6c0ba
commit
74b52f9338
@@ -131,14 +131,14 @@ pub fn print_sysinfo(sysinfo: &sc_telemetry::SysInfo) {
|
||||
|
||||
/// Prints out the results of the hardware benchmarks in the logs.
|
||||
pub fn print_hwbench(hwbench: &HwBench) {
|
||||
log::info!("🏁 CPU score: {}MB/s", hwbench.cpu_hashrate_score);
|
||||
log::info!("🏁 Memory score: {}MB/s", hwbench.memory_memcpy_score);
|
||||
log::info!("🏁 CPU score: {}", hwbench.cpu_hashrate_score);
|
||||
log::info!("🏁 Memory score: {}", hwbench.memory_memcpy_score);
|
||||
|
||||
if let Some(score) = hwbench.disk_sequential_write_score {
|
||||
log::info!("🏁 Disk score (seq. writes): {}MB/s", score);
|
||||
log::info!("🏁 Disk score (seq. writes): {}", score);
|
||||
}
|
||||
if let Some(score) = hwbench.disk_random_write_score {
|
||||
log::info!("🏁 Disk score (rand. writes): {}MB/s", score);
|
||||
log::info!("🏁 Disk score (rand. writes): {}", score);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user