Sha256: f07a47f979eae0f9526f768c2804a4b6695a08d28a6130b74219803dafed82a6

Contents?: true

Size: 354 Bytes

Versions: 38

Compression:

Stored size: 354 Bytes

Contents

require 'lib/pacer'

require 'jruby/profiler'

g = Pacer.tg 'samples/grateful-dead.xml'
g.v.out.in.count

profile_data = JRuby::Profiler.profile do
  100.times do
    g.v(type: 'song').out(type: 'artist', name: nil).out_e.in_v.count
  end
end

profile_printer = JRuby::Profiler::GraphProfilePrinter.new(profile_data)
profile_printer.printProfile(STDOUT)

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
pacer-1.5.2-java samples/profile.rb
pacer-1.5.1-java samples/profile.rb
pacer-1.4.2-java samples/profile.rb
pacer-1.4.1-java samples/profile.rb
pacer-1.4.0-java samples/profile.rb
pacer-1.3.5-java samples/profile.rb
pacer-1.3.4-java samples/profile.rb
pacer-1.3.3-java samples/profile.rb
pacer-1.3.2-java samples/profile.rb
pacer-1.3.1-java samples/profile.rb
pacer-1.2.0-java samples/profile.rb
pacer-1.1.1-java samples/profile.rb
pacer-1.1.0-java samples/profile.rb
pacer-1.0.3-java samples/profile.rb
pacer-1.0.2-java samples/profile.rb
pacer-1.0.1-java samples/profile.rb
pacer-1.0.0-java samples/profile.rb
pacer-0.9.1.1-java samples/profile.rb