Sha256: 97976a916d8f561f9945ad2ae1d6a993409691d51e40877df0f32554e49a1487

Contents?: true

Size: 301 Bytes

Versions: 11

Compression:

Stored size: 301 Bytes

Contents

require 'bundler'
require 'bundler/setup'
require 'jsonify'
require 'ruby-prof'

result = RubyProf.profile do
  1.times do
    json=Jsonify::Builder.new
    json.hello 'world'
    json.compile!
  end
end

# Print a flat profile to text
printer = RubyProf::FlatPrinter.new(result)
printer.print(STDOUT)

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
jsonify-0.4.1 performance/profile.rb
jsonify-0.4.0 performance/profile.rb
jsonify-0.3.1 performance/profile.rb
jsonify-0.3.0 performance/profile.rb
jsonify-0.2.0 performance/profile.rb
jsonify-0.1.3 performance/profile.rb
jsonify-0.1.2 performance/profile.rb
jsonify-0.1.1 performance/profile.rb
jsonify-0.1.0 performance/profile.rb
jsonify-0.0.9 performance/profile.rb
jsonify-0.0.8 spec/profile.rb