Sha256: 4820e7aa40bd5d46df93e94dc17641ced2176c7b38f1c93ba7c8e35a351d1fff
Contents?: true
Size: 409 Bytes
Versions: 54
Compression:
Stored size: 409 Bytes
Contents
#!/usr/bin/env ruby require 'ruby-prof' result = RubyProf.profile do require 'conjur/cli' Conjur::CLI.run(ARGV) end `mkdir -p #{File.dirname(__FILE__)}/profile` File.open("profile/graph.html", "w") do |io| grapher = RubyProf::GraphHtmlPrinter.new(result) grapher.print(io) end File.open("profile/stack.html", "w") do |io| printer = RubyProf::CallStackPrinter.new(result) printer.print(io) end
Version data entries
54 entries across 54 versions & 1 rubygems