Sha256: 6fcb8756722b5a33b50188c0ae474d0a8ac8eb82d8a2ad7c5629eb5dfa462afd

Contents?: true

Size: 996 Bytes

Versions: 51

Compression:

Stored size: 996 Bytes

Contents

jruby-prof
==========

Daniel Lucraft
http://danlucraft.com/blog/2010/03/jruby-prof/

This is a clone of ruby-prof for JRuby. It supports all the usual output
modes, plus a call tree output mode. 

The only measure mode it currently supports is wall time.

*** NB. This is really new code. It probably has lots of bugs and things. - March 2010 ***

INSTALL
-------

    $ jruby -S gem install jruby-prof
    
USAGE
-----

In your program:

    require 'rubygems'
    require 'jruby-prof'
    
    result = JRubyProf.profile do
      # my stuff
    end
    
    JRubyProf.print_flat_text(result, "flat.txt")
    JRubyProf.print_graph_text(result, "graph.txt")
    JRubyProf.print_graph_html(result, "graph.html")
    JRubyProf.print_call_tree(result, "call_tree.txt")
    JRubyProf.print_tree_html(result, "call_tree.html")

In order to tell JRuby to send events to JRubyProf for processing, you must
run your script with the debug flag on:

    $ jruby --debug my_script.rb

LICENSE
-------

MIT

Version data entries

51 entries across 51 versions & 3 rubygems

Version Path
redcar-dev-0.12.16dev-java plugins/redcar_debug/vendor/jruby-prof/README
redcar-dev-0.12.15dev-java plugins/redcar_debug/vendor/jruby-prof/README
redcar-dev-0.12.14dev-java plugins/redcar_debug/vendor/jruby-prof/README
redcar-dev-0.12.13dev-java plugins/redcar_debug/vendor/jruby-prof/README
redcar-dev-0.12.12dev-java plugins/redcar_debug/vendor/jruby-prof/README
redcar-dev-0.12.11dev-java plugins/redcar_debug/vendor/jruby-prof/README
redcar-dev-0.12.10dev-java plugins/redcar_debug/vendor/jruby-prof/README
redcar-dev-0.12.9dev-java plugins/redcar_debug/vendor/jruby-prof/README
redcar-dev-0.12.8dev-java plugins/redcar_debug/vendor/jruby-prof/README
redcar-dev-0.12.7dev-java plugins/redcar_debug/vendor/jruby-prof/README
redcar-dev-0.12.6dev-java plugins/redcar_debug/vendor/jruby-prof/README
redcar-dev-0.12.4dev-java plugins/redcar_debug/vendor/jruby-prof/README
redcar-dev-0.12.3dev-java plugins/redcar_debug/vendor/jruby-prof/README
redcar-dev-0.12.1dev-java plugins/redcar_debug/vendor/jruby-prof/README
redcar-dev-0.12.0dev-java plugins/redcar_debug/vendor/jruby-prof/README
redcar-0.11 plugins/redcar_debug/vendor/jruby-prof/README
redcar-0.11.0dev plugins/redcar_debug/vendor/jruby-prof/README
redcar-0.10 plugins/redcar_debug/vendor/jruby-prof/README
redcar-0.9.2 plugins/redcar_debug/vendor/jruby-prof/README
redcar-0.9.1 plugins/redcar_debug/vendor/jruby-prof/README