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

Version Path
conjur-cli-6.2.6 profile.rb
conjur-cli-6.2.5 profile.rb
conjur-cli-6.2.4 profile.rb
conjur-cli-6.2.3 profile.rb
conjur-cli-6.2.2 profile.rb
conjur-cli-6.2.1 profile.rb
conjur-cli-6.2.0 profile.rb
conjur-cli-5.6.6 profile.rb
conjur-cli-6.1.0 profile.rb
conjur-cli-6.0.1 profile.rb
conjur-cli-5.6.5 profile.rb
conjur-cli-5.6.4 profile.rb
conjur-cli-5.6.3 profile.rb
conjur-cli-6.0.0 profile.rb
conjur-cli-6.0.0.rc1 profile.rb
conjur-cli-5.5.0 profile.rb
conjur-cli-5.4.0 profile.rb
conjur-cli-5.3.0 profile.rb
conjur-cli-5.2.5 profile.rb
conjur-cli-5.2.4 profile.rb