measure_throughput

Function measure_throughput 

Source
pub fn measure_throughput(data_size: usize, iterations: usize) -> f64
Expand description

Measure the throughput of ClockHash-256 for a given data size

§Arguments

  • data_size - Size of data to hash in bytes
  • iterations - Number of iterations to measure

§Returns

Returns the throughput in MB/s