diff options
Diffstat (limited to 'railties/lib/commands/performance')
-rwxr-xr-x | railties/lib/commands/performance/request.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/railties/lib/commands/performance/request.rb b/railties/lib/commands/performance/request.rb new file mode 100755 index 0000000000..8e19c9d6ed --- /dev/null +++ b/railties/lib/commands/performance/request.rb @@ -0,0 +1,7 @@ +#!/usr/bin/env ruby +RAILS_DEFAULT_LOGGER = nil +require 'config/environment' +require 'application' +require 'action_controller/request_profiler' + +ActionController::RequestProfiler.run(ARGV) |