MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / human_bytes_per_second

Function human_bytes_per_second

src/upload/uploader.rs:45–48  ·  view source on GitHub ↗
(bytes: u64, elapsed: std::time::Duration)

Source from the content-addressed store, hash-verified

43}
44
45fn human_bytes_per_second(bytes: u64, elapsed: std::time::Duration) -> String {
46 let bytes_per_second = bytes as f64 / elapsed.as_secs_f64();
47 format!("{}/s", human_bytes(bytes_per_second as u64))
48}
49
50/// Create a profile archive from the profile folder
51///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected