Sha256: 8d2d4afda89f6011f3709844caa7ed6755c37e629f89d98d680b7272427a70ba

Contents?: true

Size: 309 Bytes

Versions: 49

Compression:

Stored size: 309 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require 'stackprof'
require 'rack/test'

require './bench/app'

def app
  App
end

include Rack::Test::Methods

puts 'Running '
profile = StackProf.run(mode: :cpu) do
  10_000.times do
    get '/'
  end
end
puts ''

StackProf::Report.new(profile).print_text

Version data entries

49 entries across 49 versions & 2 rubygems

Version Path
elastic-apm-4.7.3 bench/stackprof.rb
elastic-apm-4.7.2 bench/stackprof.rb
elastic-apm-4.7.1 bench/stackprof.rb
elastic-apm-4.7.0 bench/stackprof.rb
elastic-apm-4.6.2 bench/stackprof.rb
elastic-apm-4.6.1 bench/stackprof.rb
elastic-apm-4.6.0 bench/stackprof.rb
elastic-apm-4.5.1 bench/stackprof.rb
elastic-apm-4.5.0 bench/stackprof.rb
elastic-apm-4.4.0 bench/stackprof.rb
elastic-apm-4.3.0 bench/stackprof.rb
elastic-apm-4.2.0 bench/stackprof.rb
elastic-apm-4.1.0 bench/stackprof.rb
elastic-apm-4.0.0 bench/stackprof.rb
elastic-apm-4.0.0.beta.2 bench/stackprof.rb
elastic-apm-3.15.1 bench/stackprof.rb
elastic-apm-4.0.0.beta.1 bench/stackprof.rb
elastic-apm-3.15.0 bench/stackprof.rb
elastic-apm-3.14.0 bench/stackprof.rb
elastic-apm-3.13.0 bench/stackprof.rb