Skip to content

Commit

Permalink
Simpler way of getting path to perftools.{bundle,so}
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm1 committed May 30, 2009
1 parent 399aa3c commit 7944f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ google-perftools for ruby code

Profile an existing ruby application without modifying it:

$ CPUPROFILE=/tmp/my_app_profile ruby -r/path/to/perftools.{bundle,so} my_app.rb
$ CPUPROFILE=/tmp/my_app_profile RUBYOPT="-r`gem which perftools | tail -1`" ruby my_app.rb


=== Reporting
Expand Down

0 comments on commit 7944f7f

Please sign in to comment.