///|
const WORKLOAD : Int = 100000

///|
fn benchmark_index_map(n : Int) -> UInt64 {
  let map : @indexmap.IndexMap[Int, Int] = @indexmap.IndexMap::new()
  let start = @env.now()
  for i in 0.. checksum += value
      None => ()
    }
  }
  let elapsed = @env.now() - start
  println(
    "indexmap workload=" +
    n.to_string() +
    " elapsed_ms=" +
    elapsed.to_string() +
    " checksum=" +
    checksum.to_string(),
  )
  elapsed
}

///|
fn benchmark_bitset(n : Int) -> UInt64 {
  let bits = @bitset.BitSet::new()
  let start = @env.now()
  for i in 0..