/bench/bm_loop_whileloop2.rb

http://github.com/feyeleanor/RubyGoLightly · Ruby · 4 lines · 4 code · 0 blank · 0 comment · 1 complexity · 6a2fd390d3685ba0bcdf04dbef41302e MD5 · raw file

  1. i=0
  2. while i< 6000000 # benchmark loop 2
  3. i = i + 1
  4. end