Skip to content

Instantly share code, notes, and snippets.

@dnagir
Created January 4, 2012 06:47
Show Gist options
  • Select an option

  • Save dnagir/1558852 to your computer and use it in GitHub Desktop.

Select an option

Save dnagir/1558852 to your computer and use it in GitHub Desktop.
Profiling RSpec-s with JRuby
> bundle install --binstubs
> jruby --profile bin/rspec spec/
........ etc .....
Finished in 56.58 seconds
204 examples, 0 failures, 59 pending
main thread profile results:
Total time: 60.30
total self children calls method
----------------------------------------------------------------
56.50 0.00 56.50 1 RSpec::Core::Runner.run
56.45 0.00 56.45 1 RSpec::Core::Runner.run_in_process
56.45 0.00 56.45 1 RSpec::Core::CommandLine#run
56.37 0.03 56.34 28334 Array#collect
45.87 0.23 45.64 90008 Array#each
36.93 0.14 36.80 4166 BasicObject#instance_eval
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment