ruby--ruby/benchmark/time_subsec.rb

3 lines
40 B
Ruby

t = Time.now
4000000.times { t.subsec }