Permalink
Browse files

Add Groovy-CompileStatic instead of Groovy++

  • Loading branch information...
1 parent 23dd48d commit 57293696a068da1404aebdc577b264b321bcc6f1 @nahi committed Apr 9, 2012
Showing with 15 additions and 8 deletions.
  1. +9 −3 Implementations.md
  2. +6 −5 bench/run.sh
View
@@ -5,13 +5,19 @@
src: <https://github.com/nahi/RBTreeMap/blob/master/src/RBTreeMap.java>
-## Groovy++
+## Groovy CompileStatic
repo: <https://github.com/nobeans/javaone-tokyo-2012-jvm-bof>
- src: <https://github.com/nobeans/javaone-tokyo-2012-jvm-bof/blob/master/src/main/groovy/org/jggug/javaonetokyo/bof/bench/RBTreeMap.groovy>
+ src: <https://github.com/nobeans/javaone-tokyo-2012-jvm-bof/blob/groovy-2.0.0b-staticcompile/src/main/groovy/org/jggug/javaonetokyo/bof/bench/RBTreeMap.groovy>
-## Groovy++
+## Groovy InvokeDynamic
+
+ repo: <https://github.com/nobeans/javaone-tokyo-2012-jvm-bof>
+
+ src: pending...
+
+## Groovy 1.8.6
repo: <https://github.com/nobeans/javaone-tokyo-2012-jvm-bof>
src: <https://github.com/nobeans/javaone-tokyo-2012-jvm-bof/blob/groovy-1.8.6/src/main/groovy/org/jggug/javaonetokyo/bof/bench/RBTreeMap.groovy>
View
@@ -1,9 +1,8 @@
#!/bin/bash -
-JAVA_DIR=/home/nahi/git/examples/javaone-tokyo-2012/red-black
+JAVA_DIR=/home/nahi/git/RBTreeMap/src
JRUBY_DIR=/home/nahi/git/javaone-tokyo-bof-jruby
GROOVY_DIR=/home/nahi/git/javaone-tokyo-bof-groovy
-GROOVY_PP_DIR=/home/nahi/git/javaone-tokyo-bof-groovy-pp
SCALA_DIR=/home/nahi/git/javaone-tokyo-bof-scala
RESOURCE_FILES=/home/nahi/git/javaone-tokyo-bof-jruby/resource/*.csv
#RESOURCE_FILES=/home/nahi/git/javaone-tokyo-bof-jruby/resource/10000.csv
@@ -24,12 +23,14 @@ do echo $i
/home/nahi/git/jruby/bin/jruby -Xinvokedynamic.cache.ivars=true -Xcompile.invokedynamic.all=true -X+C -Ilib bench/bench.rb $i
done
- echo "Groovy"
+ echo "Groovy 1.8.6"
cd $GROOVY_DIR
+ git checkout groovy-1.8.6
./gradlew benchmark -Dinput=$i -Dtrials=5
- echo "Groovy++"
- cd $GROOVY_PP_DIR
+ echo "Groovy StaticCompile"
+ cd $GROOVY_DIR
+ git checkout groovy-2.0.0b-staticcompile
./gradlew benchmark -Dinput=$i -Dtrials=5
echo "Scala(mutable)"

0 comments on commit 5729369

Please sign in to comment.