caching-approaches-comparison
Changes
.gitignore 3(+3 -0)
adapters/compile.sh 11(+11 -0)
adapters/configure 33(+33 -0)
applications/compile.sh 7(+7 -0)
applications/configure 4(+4 -0)
approaches/compile.sh 7(+7 -0)
approaches/configure 14(+14 -0)
compile.sh 9(+9 -0)
configure 6(+6 -0)
Details
.gitignore 3(+3 -0)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..f4a3981
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+/adapters
+/approaches
+/applications
\ No newline at end of file
adapters/compile.sh 11(+11 -0)
diff --git a/adapters/compile.sh b/adapters/compile.sh
new file mode 100644
index 0000000..6ae3974
--- /dev/null
+++ b/adapters/compile.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+export JAVA_HOME=/usr/lib/jvm/java-8-oracle
+
+cd Trace; mvn clean install -DskipTests & cd ..
+cd JSONSerialiser; mvn clean install -DskipTests & cd ..
+cd JSON-java; mvn clean install -DskipTests & cd ..
+wait
+cd ApplicationTracer; mvn clean install -DskipTests & cd ..
+cd java-callgraph; mvn clean install -DskipTests & cd ..
+wait
\ No newline at end of file
adapters/configure 33(+33 -0)
diff --git a/adapters/configure b/adapters/configure
new file mode 100644
index 0000000..4c858bf
--- /dev/null
+++ b/adapters/configure
@@ -0,0 +1,33 @@
+#!/bin/bash
+
+wget -O java-callgraph.zip https://github.com/gousiosg/java-callgraph/archive/master.zip &
+
+wget -O ApplicationTracer.zip https://github.com/rmeloca/ApplicationTracer/archive/master.zip &
+wget -O JSON-java.zip https://github.com/rmeloca/JSON-java/archive/master.zip &
+wget -O JSONSerialiser.zip https://github.com/rmeloca/JSONSerialiser/archive/master.zip &
+wget -O Trace.zip https://github.com/rmeloca/Trace/archive/master.zip &
+
+wget -O apache-jmeter-3.3.zip https://archive.apache.org/dist/jmeter/binaries/apache-jmeter-3.3.zip &
+wget -O jmeter-plugins-manager-1.3.jar http://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-manager/1.3/jmeter-plugins-manager-1.3.jar &
+
+wait
+
+unzip java-callgraph.zip &
+
+unzip ApplicationTracer.zip &
+unzip JSON-java.zip &
+unzip JSONSerialiser.zip &
+unzip Trace.zip &
+
+unzip apache-jmeter-3.3.zip &
+
+wait
+
+mv java-callgraph-master java-callgraph
+
+mv ApplicationTracer-master ApplicationTracer
+mv JSON-java-master JSON-java
+mv JSONSerialiser-master JSONSerialiser
+mv Trace-master Trace
+
+mv jmeter-plugins-manager-1.3.jar apache-jmeter-3.3/lib/ext
\ No newline at end of file
applications/compile.sh 7(+7 -0)
diff --git a/applications/compile.sh b/applications/compile.sh
new file mode 100644
index 0000000..2e66b55
--- /dev/null
+++ b/applications/compile.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+export JAVA_HOME=/usr/lib/jvm/java-8-oracle
+
+cd original; bash compile.sh & cd ..
+cd uncached; bash compile.sh & cd ..
+wait
\ No newline at end of file
applications/configure 4(+4 -0)
diff --git a/applications/configure b/applications/configure
new file mode 100644
index 0000000..b07f3c5
--- /dev/null
+++ b/applications/configure
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+mkdir original
+mkdir uncached
\ No newline at end of file
approaches/compile.sh 7(+7 -0)
diff --git a/approaches/compile.sh b/approaches/compile.sh
new file mode 100644
index 0000000..7b39a3e
--- /dev/null
+++ b/approaches/compile.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+export JAVA_HOME=/usr/lib/jvm/java-8-oracle
+
+cd APLCache; mvn clean install -DskipTests & cd ..
+cd MemoizeIt; mvn clean install -DskipTests & cd ..
+wait
\ No newline at end of file
approaches/configure 14(+14 -0)
diff --git a/approaches/configure b/approaches/configure
new file mode 100644
index 0000000..59e3cd4
--- /dev/null
+++ b/approaches/configure
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+wget -O APLCache.zip https://github.com/rmeloca/APLCache/archive/master.zip &
+wget -O MemoizeIt.zip https://github.com/rmeloca/MemoizeIt/archive/master.zip &
+
+wait
+
+unzip APLCache.zip &
+unzip MemoizeIt.zip &
+
+wait
+
+mv APLCache-master APLCache
+mv MemoizeIt-master MemoizeIt
\ No newline at end of file
compile.sh 9(+9 -0)
diff --git a/compile.sh b/compile.sh
new file mode 100644
index 0000000..9212315
--- /dev/null
+++ b/compile.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+export JAVA_HOME=/usr/lib/jvm/java-8-oracle
+
+cd adapters; bash compile.sh & cd ..
+wait
+cd applications; bash compile.sh & cd ..
+cd approaches; bash compile.sh & cd ..
+wait
\ No newline at end of file
configure 6(+6 -0)
diff --git a/configure b/configure
new file mode 100644
index 0000000..f0a5bc7
--- /dev/null
+++ b/configure
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+cd adapters; bash configure & cd ..
+cd approaches; bash configure & cd ..
+cd applications; bash configure & cd ..
+wait
\ No newline at end of file