1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Document the propose of tools/profile

This commit is contained in:
Rafael Mendonça França 2014-10-13 10:59:12 -03:00
parent 33361a50eb
commit 46f80b5094

View file

@ -1,4 +1,7 @@
#!/usr/bin/env ruby #!/usr/bin/env ruby
# Profile require calls giving information about the time and the files that are called
# when loading the provided file.
#
# Example: # Example:
# tools/profile activesupport/lib/active_support.rb [ruby-prof mode] [ruby-prof printer] # tools/profile activesupport/lib/active_support.rb [ruby-prof mode] [ruby-prof printer]
ENV['NO_RELOAD'] ||= '1' ENV['NO_RELOAD'] ||= '1'