///|
pub fn benchmark_fixture_json(token_count : Int) -> String {
  let count = if token_count < 1 { 1 } else { token_count }
  let colors = [
    "#111111", "#222222", "#333333", "#444444", "#555555", "#666666", "#777777",
    "#888888",
  ]
  let builder = StringBuilder::new()
  builder.write_string("{\"name\":\"Benchmark\",\"palette\":{\"colors\":[")
  for i in 0.. 0 {
      builder.write_string(",")
    }
    builder.write_string("{\"name\":\"color-")
    builder.write_string(i.to_string())
    builder.write_string("\",\"value\":\"")
    builder.write_string(colors[i % colors.length()])
    builder.write_string("\",\"role\":\"benchmark token\"}")
  }
  builder.write_string(
    " ]},\"assets\":{\"primary_logo\":{\"name\":\"logo\",\"path\":\"logo.svg\",\"min_width_px\":64,\"clear_space_px\":8}},\"typography\":{\"scale\":[]}}",
  )
  builder.to_string().replace(old=" ]", new="]")
}

///|
fn benchmark_sizes() -> Array[(String, Int)] {
  [("small", 8), ("medium", 64), ("large", 256)]
}