Skip to content

Commit

Permalink
Make :cpu the default mode
Browse files Browse the repository at this point in the history
  • Loading branch information
soutaro committed Nov 22, 2022
1 parent 21cbdcb commit 737a244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/steep-prof
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require "stackprof"

mode = (ENV["STEEP_STACKPROF_MODE"] || :wall).to_sym
mode = (ENV["STEEP_STACKPROF_MODE"] || :cpu).to_sym
out = ENV["STEEP_STACKPROF_OUT"] || "tmp/stackprof-#{mode}-steep.dump"
interval = ENV["STEEP_STACKPROF_INTERVAL"]&.to_i || 1000

Expand Down

0 comments on commit 737a244

Please sign in to comment.