Sha256: bbfcd273342c9939481f8f5409dde80cb21024bf8429ef2a6dd6b1f2d737233e

Contents?: true

Size: 414 Bytes

Versions: 44

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

44 entries across 44 versions & 1 rubygems

Version Path
steep-1.6.0.pre.4 bin/steep-prof
steep-1.6.0.pre.3 bin/steep-prof
steep-1.6.0.pre.2 bin/steep-prof
steep-1.6.0.pre.1 bin/steep-prof
steep-1.5.3 bin/steep-prof
steep-1.5.2 bin/steep-prof
steep-1.5.1 bin/steep-prof
steep-1.5.0 bin/steep-prof
steep-1.5.0.pre.6 bin/steep-prof
steep-1.5.0.pre.5 bin/steep-prof
steep-1.5.0.pre.4 bin/steep-prof
steep-1.5.0.pre.3 bin/steep-prof
steep-1.5.0.pre.2 bin/steep-prof
steep-1.5.0.pre.1 bin/steep-prof
steep-1.4.0 bin/steep-prof
steep-1.4.0.dev.5 bin/steep-prof
steep-1.4.0.dev.4 bin/steep-prof
steep-1.4.0.dev.3 bin/steep-prof
steep-1.3.2 bin/steep-prof
steep-1.3.1 bin/steep-prof