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:
parent
33361a50eb
commit
46f80b5094
1 changed files with 3 additions and 0 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue