Skip to content
Browse files

Fixed RBS so it would run standalone, i.e. not require a 'benchmark' …

…directory
  • Loading branch information...
1 parent cdf1bae commit 1b9e11713db18a54f141e10ad97aa6516447232a Monty Williams committed Mar 29, 2009
Showing with 19 additions and 5 deletions.
  1. +1 −1 README
  2. +14 −0 Rakefile
  3. +4 −4 { → rakelib}/bench.rake
View
2 README
@@ -21,5 +21,5 @@ for comparing your results over time.
I'd welcome other output formatters. :to_wiki comes to mind so I could put
the results directly in Confluence.
-Note: You'll probably want to copy bench.rake to your rakelib and modify
+NOTE: You'll probably want to copy rakelib/bench.rake and modify
some filenames and locations to suit your needs.
View
14 Rakefile
@@ -0,0 +1,14 @@
+# This Rakefile is included so you can run RBS Benchmarks
+#
+# rake bench # Run all the RBS benchmarks
+# rake bench:dir # Run all the RBS benchmarks in DIR
+# rake bench:file # Run only the RBS benchmark specified by FILE
+# rake bench:results # Plot the RBS benchmark results (not implemented)
+# rake bench:to_csv # Generate a CSV file of RBS results
+#
+# NOTE: rakelib/bench.rake requires this directory to be named: benchmark
+# you may want to modify bench.rake to suit your own defaults.
+#
+
+task :default => :'bench'
+
View
8 bench.rake → rakelib/bench.rake
@@ -11,10 +11,10 @@
# paths to reflect the layout you use and change the default VM.
BASEDIR = File.expand_path(File.dirname(__FILE__) + "/..")
-MONITOR = BASEDIR + "/benchmark/utils/monitor.rb"
-RUNNER = BASEDIR + "/benchmark/utils/bench.rb"
-RBS_DIR = BASEDIR + "/benchmark/rbs"
-RESULTS_DIR = BASEDIR + "/benchmark/results"
+MONITOR = BASEDIR + "/utils/monitor.rb"
+RUNNER = BASEDIR + "/utils/bench.rb"
+RBS_DIR = BASEDIR + "/rbs"
+RESULTS_DIR = BASEDIR + "/results"
RBS_RESULTS_DIR = RESULTS_DIR + "/rbs"
WEB_DIR = RESULTS_DIR + "/web"

0 comments on commit 1b9e117

Please sign in to comment.
Something went wrong with that request. Please try again.