1 2 3 4 5 6 7 8 9 10 11
benchmark: vm2_module_const_set: | i = 0 module M end $VERBOSE = nil while i<6_000_000 # benchmark loop 2 i += 1 M.const_set(:X, Module.new) end loop_count: 1