Sha256: bba857a06592a4f5d921fcb693a1aacd2cf3673ce7bd8b0f46c84a931c45c4f3
Contents?: true
Size: 338 Bytes
Versions: 35
Compression:
Stored size: 338 Bytes
Contents
#!/usr/bin/env ruby require "stackprof" mode = (ENV["STEEP_STACKPROF_MODE"] || :wall).to_sym out = ENV["STEEP_STACKPROF_OUT"] || "tmp/stackprof-#{mode}-steep.dump" def exit(*) end STDERR.puts "Running profiler: mode=#{mode}, out=#{out}" StackProf.run(mode: mode, out: out, raw: true) do load File.join(__dir__, "../exe/steep") end
Version data entries
35 entries across 35 versions & 1 rubygems