aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-05-13 11:55:19 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-05-13 12:00:49 -0700
commit4f291fa528e5faad03def69ae7ac98224ab859db (patch)
tree3a9bc62fd9bfb6913b5899f6b86c953d4aa78c1d /tools
parente8550ee0329586b32de425e905c7af7e65bc78a8 (diff)
downloadrails-4f291fa528e5faad03def69ae7ac98224ab859db.tar.gz
rails-4f291fa528e5faad03def69ae7ac98224ab859db.tar.bz2
rails-4f291fa528e5faad03def69ae7ac98224ab859db.zip
Simple examples for require profiling
Diffstat (limited to 'tools')
-rwxr-xr-xtools/profile_requires4
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