Skip to content

Commit

Permalink
Fix StackProf setup
Browse files Browse the repository at this point in the history
  • Loading branch information
soutaro committed Aug 6, 2024
1 parent e23c40d commit 9f6e0f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/steep-check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def type_check_files(command_line_args, env)
require "stackprof"
out = Pathname.pwd + "tmp/typecheck-#{Process.pid}.stackprof"
puts ">> Profiling with stackprof: #{out}"
StackProf.run(mode: :cpu, out: out, raw: true, interval: 1000) do
StackProf.run(out: out, raw: true, interval: 1000) do
typings = command.type_check_files(command_line_args, env)
end

Expand Down

0 comments on commit 9f6e0f1

Please sign in to comment.