Sha256: 559992b650474b5dcb7a454fcfb404d89ad0cc353e294ed476668621bf37f363
Contents?: true
Size: 328 Bytes
Versions: 8
Compression:
Stored size: 328 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) do load File.join(__dir__, "../exe/steep") end
Version data entries
8 entries across 8 versions & 1 rubygems