Sha256: bbfcd273342c9939481f8f5409dde80cb21024bf8429ef2a6dd6b1f2d737233e

Contents?: true

Size: 414 Bytes

Versions: 42

Compression:

Stored size: 414 Bytes

Contents

#!/usr/bin/env ruby

require "stackprof"

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

def exit(*)

end

STDERR.puts "Running profiler: mode=#{mode}, out=#{out}"
StackProf.run(mode: mode, out: out, raw: true, interval: interval) do
  load File.join(__dir__, "../exe/steep")
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
steep-1.9.1 bin/steep-prof
steep-1.9.0 bin/steep-prof
steep-1.9.0.dev.2 bin/steep-prof
steep-1.9.0.dev.1 bin/steep-prof
steep-1.8.3 bin/steep-prof
steep-1.8.2 bin/steep-prof
steep-1.8.1 bin/steep-prof
steep-1.8.0 bin/steep-prof
steep-1.8.0.pre.2 bin/steep-prof
steep-1.8.0.pre.1 bin/steep-prof
steep-1.8.0.dev.2 bin/steep-prof
steep-1.8.0.dev.1 bin/steep-prof
steep-1.7.1 bin/steep-prof
steep-1.7.0 bin/steep-prof
steep-1.7.0.dev.3 bin/steep-prof
steep-1.7.0.dev.2 bin/steep-prof
steep-1.7.0.dev.1 bin/steep-prof
steep-1.6.0 bin/steep-prof
steep-1.6.0.pre.4 bin/steep-prof
steep-1.6.0.pre.3 bin/steep-prof