Last active
August 29, 2015 14:17
-
-
Save willnewby/59d7692942563a3313bc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Without RubyProf | |
vagrant@vagrant-ubuntu-trusty-64:/vagrant$ bundle exec jekyll build --trace | |
Configuration file: /vagrant/_config.yml | |
Source: /vagrant | |
Destination: /vagrant/_site | |
Incremental build: disabled | |
Generating... | |
done in 12.951 seconds. | |
Auto-regeneration: disabled. Use --watch to enable. | |
## With RubyProf. How do I run this properly? | |
vagrant@vagrant-ubuntu-trusty-64:/vagrant$ ruby-prof bundle exec jekyll build --trace | |
ruby_prof 0.15.6 | |
Usage: ruby-prof [options] <script.rb> [--] [profiled-script-command-line-options] | |
## Closer | |
vagrant@vagrant-ubuntu-trusty-64:/vagrant$ ruby-prof bundle -- exec jekyll build --trace | |
Measure Mode: wall_time | |
Thread ID: 16864000 | |
Fiber ID: 16734760 | |
Total: 0.000031 | |
Sort by: self_time | |
%self total self wait child calls name | |
48.09 0.000 0.000 0.000 0.000 1 Class#new | |
32.06 0.000 0.000 0.000 0.000 1 Global#[No method] | |
12.98 0.000 0.000 0.000 0.000 1 Exception#initialize | |
3.82 0.000 0.000 0.000 0.000 1 Exception#backtrace | |
3.05 0.000 0.000 0.000 0.000 1 Exception#exception | |
* indicates recursively called methods | |
/var/lib/gems/2.1.0/gems/ruby-prof-0.15.6/lib/ruby-prof/compatibility.rb:104:in `load': cannot load such file -- bundle (LoadError) | |
from /var/lib/gems/2.1.0/gems/ruby-prof-0.15.6/lib/ruby-prof/compatibility.rb:104:in `start_script' | |
from /var/lib/gems/2.1.0/gems/ruby-prof-0.15.6/bin/ruby-prof:292:in `run' | |
from /var/lib/gems/2.1.0/gems/ruby-prof-0.15.6/bin/ruby-prof:340:in `<top (required)>' | |
from /usr/local/bin/ruby-prof:23:in `load' | |
from /usr/local/bin/ruby-prof:23:in `<main>' | |
vagrant@vagrant-ubuntu-trusty-64:/vagrant$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment