Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

rails benchmark

puts Benchmark.measure {
  50_000.times do
    input.map { |key, value| [key.to_sym, value] }.to_h
  end
}
 
PREVIOUS NEXT
Tagged: #rails #benchmark
ADD COMMENT
Topic
Name
7+9 =