You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: benchmarks.rs
    path of file: ./repos/heimdall-rs/crates/common/src/utils/testing
    
    the code of the file until where you have to start completion: use std::{io, io::Write, thread, time::Instant};

#[allow(dead_code)]
/// asyncronous version of the bench
    
    fn test_benchmark() {
        // Test case: Single run
        let benchmark_name = "Test Benchmark";
        let runs = 10;
        let to_bench = || {
            // Code to benchmark
            thread::sleep(std::time::Duration::from_millis(200));
        };
        benchmark(benchmark_name, runs, to_bench);
    }