Sha256: 432caa51d14e3f48d7e21065f7e18b158200bdc92743ccfb32221ecc620c2db7
Contents?: true
Size: 231 Bytes
Versions: 1
Compression:
Stored size: 231 Bytes
Contents
#!/usr/bin/env ruby cmd = ARGV.shift path = `which #{cmd}`.chomp require 'stackprof' ex = nil StackProf.run(mode: :cpu, out: 'stackprof-out') do begin load path rescue Exception => e ex = e end end raise ex if ex
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stackprof-run-0.1.0 | exe/stackprof-run |