Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

runner and benchmark sh can be used without needing to be generated

  • Loading branch information...
commit b47fc829449ed513313c2cefabf5c6d0199832be 1 parent 2eb3f60
@danielribeiro authored
Showing with 4 additions and 30 deletions.
  1. +0 −30 Rakefile
  2. +2 −0  benchmark.sh
  3. +2 −0  runner.sh
View
30 Rakefile
@@ -33,33 +33,3 @@ task :benchmark, :chunkSize, :mapActorsCount do |t, args|
jruby_execute 'lib/benchmarking_akka.rb',
[args.chunkSize || "200", args.mapActorsCount || "2"]
end
-
-desc "Generates runner script appropriate for the current machine.
-For users using jruby rake"
-task :genrunner do
- puts "Generating runner.sh"
- filename = "lib/actor_word_count.rb" if filename.nil?
- File.open("runner.sh", 'w') do |f|
- f.write <<-eof
-#!/bin/bash
-CLASSPATH=#{classpath} jruby -Ilib $1
-eof
- end
- File.chmod 0755, "runner.sh"
- puts "runner.sh created!"
-end
-
-desc "Generates a benchmark script appropriate for the current machine.
-For users using jruby rake"
-task :genbenchmark do
- puts "Generating benchmark.sh"
- filename = "lib/actor_word_count.rb" if filename.nil?
- File.open("benchmark.sh", 'w') do |f|
- f.write <<-eof
-#!/bin/bash
-CLASSPATH=#{classpath} jruby -Ilib #{file} $1 $2
-eof
- end
- File.chmod 0755, "benchmark.sh"
- puts "benchmark.sh created!"
-end
View
2  benchmark.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+CLASSPATH=./vendor:./vendor/akka_2.8.0-0.10.jar:./vendor/akka-core_2.8.0-0.10.jar:./vendor/scala-library.jar jruby -Ilib lib/benchmarking_akka.rb $1 $2
View
2  runner.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+CLASSPATH=./vendor:./vendor/akka_2.8.0-0.10.jar:./vendor/akka-core_2.8.0-0.10.jar:./vendor/scala-library.jar jruby -Ilib $1
Please sign in to comment.
Something went wrong with that request. Please try again.