aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/commands/perform.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/commands/perform.rb')
-rw-r--r--railties/lib/commands/perform.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/lib/commands/perform.rb b/railties/lib/commands/perform.rb
new file mode 100644
index 0000000000..ae45e7e633
--- /dev/null
+++ b/railties/lib/commands/perform.rb
@@ -0,0 +1,5 @@
+if %w( benchmarker profiler ).include?(ARGV.first)
+ require "#{File.dirname(__FILE__)}/process/#{ARGV.shift}"
+else
+ puts "Choose either reaper, spawner, or spinner"
+end \ No newline at end of file