diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-13 11:55:19 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-13 12:00:49 -0700 |
commit | 4f291fa528e5faad03def69ae7ac98224ab859db (patch) | |
tree | 3a9bc62fd9bfb6913b5899f6b86c953d4aa78c1d /tools | |
parent | e8550ee0329586b32de425e905c7af7e65bc78a8 (diff) | |
download | rails-4f291fa528e5faad03def69ae7ac98224ab859db.tar.gz rails-4f291fa528e5faad03def69ae7ac98224ab859db.tar.bz2 rails-4f291fa528e5faad03def69ae7ac98224ab859db.zip |
Simple examples for require profiling
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/profile_requires | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/profile_requires b/tools/profile_requires index be7770b3e5..0fd11c7d41 100755 --- a/tools/profile_requires +++ b/tools/profile_requires @@ -1,7 +1,7 @@ #!/usr/bin/env ruby # Example: -# ruby -Iactivesupport/lib tools/profile_requires.rb active_support -# ruby -Iactionpack/lib tools/profile_requires.rb action_controller +# tools/profile_requires activesupport/lib/active_support.rb +# tools/profile_requires activeresource/examples/simple.rb abort 'Use REE so you can profile memory and object allocation' unless GC.respond_to?(:enable_stats) GC.enable_stats |