aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-10-13 10:59:12 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-10-13 10:59:12 -0300
commit46f80b509459a908c31f1dec66b3594f95c0f261 (patch)
tree1d4cf24a1d6d2d76f8ac2bd67e7400e253d9b8d6 /tools
parent33361a50eb79fc63125be87508c48b31921b8027 (diff)
downloadrails-46f80b509459a908c31f1dec66b3594f95c0f261.tar.gz
rails-46f80b509459a908c31f1dec66b3594f95c0f261.tar.bz2
rails-46f80b509459a908c31f1dec66b3594f95c0f261.zip
Document the propose of tools/profile
Diffstat (limited to 'tools')
-rwxr-xr-xtools/profile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/profile b/tools/profile
index a35dd18b77..856057c416 100755
--- a/tools/profile
+++ b/tools/profile
@@ -1,4 +1,7 @@
#!/usr/bin/env ruby
+# Profile require calls giving information about the time and the files that are called
+# when loading the provided file.
+#
# Example:
# tools/profile activesupport/lib/active_support.rb [ruby-prof mode] [ruby-prof printer]
ENV['NO_RELOAD'] ||= '1'