📜  rails benchmark - Ruby 代码示例

📅  最后修改于: 2022-03-11 15:04:46.234000             🧑  作者: Mango

代码示例1
puts Benchmark.measure {
  50_000.times do
    input.map { |key, value| [key.to_sym, value] }.to_h
  end
}