Skip to content

Commit

Permalink
Fix sample.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
haruyama-makotpo committed Aug 11, 2017
1 parent 6f94293 commit ddf651e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sample.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ def math
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
Expand Down

0 comments on commit ddf651e

Please sign in to comment.