tfcache-comparison
Changes
adapters/clean.sh 11(+11 -0)
adapters/compile.sh 3(+2 -1)
adapters/configure 16(+6 -10)
applications/compile.sh 1(+1 -0)
applications/configure 8(+7 -1)
approaches/clean.sh 7(+7 -0)
configure 17(+17 -0)
Details
adapters/clean.sh 11(+11 -0)
diff --git a/adapters/clean.sh b/adapters/clean.sh
new file mode 100644
index 0000000..7621b5e
--- /dev/null
+++ b/adapters/clean.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+export JAVA_HOME=/usr/lib/jvm/java-8-oracle
+
+cd Trace; mvn clean & cd ..
+cd JSONSerialiser; mvn clean & cd ..
+cd ApplicationTracer; mvn clean & cd ..
+cd RequestsSimulator; mvn clean & cd ..
+cd Cache; mvn clean & cd ..
+cd java-callgraph; mvn clean & cd ..
+wait
\ No newline at end of file
adapters/compile.sh 3(+2 -1)
diff --git a/adapters/compile.sh b/adapters/compile.sh
index 6ae3974..4f33bd0 100644
--- a/adapters/compile.sh
+++ b/adapters/compile.sh
@@ -4,8 +4,9 @@ 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 RequestsSimulator; mvn clean install -DskipTests & cd ..
+cd Cache; mvn clean install -DskipTests & cd ..
cd java-callgraph; mvn clean install -DskipTests & cd ..
wait
\ No newline at end of file
adapters/configure 16(+6 -10)
diff --git a/adapters/configure b/adapters/configure
index 4c858bf..7aa9bac 100644
--- a/adapters/configure
+++ b/adapters/configure
@@ -3,31 +3,27 @@
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 &
+wget -O RequestsSimulator.zip https://github.com/rmeloca/RequestsSimulator/archive/master.zip &
+wget -O Cache.zip https://github.com/rmeloca/Cache/archive/master.zip &
wait
unzip java-callgraph.zip &
unzip ApplicationTracer.zip &
-unzip JSON-java.zip &
unzip JSONSerialiser.zip &
unzip Trace.zip &
-
-unzip apache-jmeter-3.3.zip &
+unzip RequestsSimulator.zip &
+unzip Cache.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
+mv RequestsSimulator-master RequestsSimulator
+mv Cache-master Cache
\ No newline at end of file
applications/compile.sh 1(+1 -0)
diff --git a/applications/compile.sh b/applications/compile.sh
index 2e66b55..fc3308c 100644
--- a/applications/compile.sh
+++ b/applications/compile.sh
@@ -4,4 +4,5 @@ export JAVA_HOME=/usr/lib/jvm/java-8-oracle
cd original; bash compile.sh & cd ..
cd uncached; bash compile.sh & cd ..
+cd cached; bash compile.sh & cd ..
wait
\ No newline at end of file
applications/configure 8(+7 -1)
diff --git a/applications/configure b/applications/configure
index b07f3c5..e604fc3 100644
--- a/applications/configure
+++ b/applications/configure
@@ -1,4 +1,10 @@
#!/bin/bash
mkdir original
-mkdir uncached
\ No newline at end of file
+mkdir callgraphs
+mkdir dumps
+mkdir workloads
+mkdir uncached
+mkdir traces
+mkdir cached
+mkdir output
\ No newline at end of file
approaches/clean.sh 7(+7 -0)
diff --git a/approaches/clean.sh b/approaches/clean.sh
new file mode 100644
index 0000000..d76b506
--- /dev/null
+++ b/approaches/clean.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+export JAVA_HOME=/usr/lib/jvm/java-8-oracle
+
+cd APLCache; mvn clean & cd ..
+cd MemoizeIt; mvn clean & cd ..
+wait
\ No newline at end of file
configure 17(+17 -0)
diff --git a/configure b/configure
index f0a5bc7..e95b746 100644
--- a/configure
+++ b/configure
@@ -1,5 +1,22 @@
#!/bin/bash
+add-apt-repository ppa:webupd8team/java -y
+apt-get update
+apt-get install oracle-java8-installer -y
+
+apt-get install maven -y
+
+export JAVA_HOME=/usr/lib/jvm/java-8-oracle
+
+apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common -y
+curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
+add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
+apt-get update
+apt-get install docker-ce docker-ce-cli containerd.io -y
+
+curl -L "https://github.com/docker/compose/releases/download/1.23.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
+chmod +x /usr/local/bin/docker-compose
+
cd adapters; bash configure & cd ..
cd approaches; bash configure & cd ..
cd applications; bash configure & cd ..