sample.rb in stackprof-0.2.10 vs sample.rb in stackprof-0.2.11

- old
+ new

@@ -22,12 +22,12 @@ 2 + 3 * 4 ^ 5 / 6 end end end -#profile = StackProf.run(:object, 1) do -#profile = StackProf.run(:wall, 1000) do -profile = StackProf.run(:cpu, 1000) do +#profile = StackProf.run(mode: :object, interval: 1) do +#profile = StackProf.run(mode: :wall, interval: 1000) do +profile = StackProf.run(mode: :cpu, interval: 1000) do 1_000_000.times do A.new end end