From 4f291fa528e5faad03def69ae7ac98224ab859db Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Wed, 13 May 2009 11:55:19 -0700 Subject: Simple examples for require profiling --- tools/profile_requires | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/profile_requires') 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 -- cgit v1.2.3