tfcache-comparison

Changes

Details

diff --git a/generate-recommendations.sh b/generate-recommendations.sh
new file mode 100644
index 0000000..3aa60a7
--- /dev/null
+++ b/generate-recommendations.sh
@@ -0,0 +1,33 @@
+cd /caching-approaches-comparison && bash compile.sh
+cd /tfcache-comparison && bash compile.sh
+
+base=applications
+output=$base/output
+callgraphs=$base/callgraphs
+traces=$base/traces
+memoizeittf=approaches/MemoizeItTF/target/MemoizeItTF-1.0.jar
+aplcachetf=approaches/APLCacheTF/target/APLCacheTF-1.0.jar
+tfcache=approaches/TFCache/target/TFCache-1.0.jar
+trace=/caching-approaches-comparison/adapters/Trace/target/Trace-1.0.jar
+
+
+time java -jar $memoizeittf --tfstore=$output/tfcache-storage-azkaban.json --trace=$traces/azkaban --objective=1,0 --callgraph=$callgraphs/azkaban.txt >> $output/memoizeittf-exhaustive-azkaban
+time java -jar $aplcachetf --tfstore=$output/tfcache-storage-azkaban.json --trace=$traces/azkaban --objective=1,0 --output=$output/aplcachetf-azkaban-parameters.json >> $output/aplcachetf-azkaban
+
+time java -jar $memoizeittf --tfstore=$output/tfcache-storage-cloudstore.json --trace=$traces/cloudstore --objective=1,0 --callgraph=$callgraphs/cloudstore.txt >> $output/memoizeittf-exhaustive-cloudstore
+time java -jar $aplcachetf --tfstore=$output/tfcache-storage-cloudstore.json --trace=$traces/cloudstore --objective=1,0 --output=$output/aplcachetf-cloudstore-parameters.json >> $output/aplcachetf-cloudstore
+
+time java -jar $memoizeittf --tfstore=$output/tfcache-storage-keycloak.json --trace=$traces/keycloak --objective=1,0 --callgraph=$callgraphs/keycloak.txt >> $output/memoizeittf-exhaustive-keycloak
+time java -jar $aplcachetf --tfstore=$output/tfcache-storage-keycloak.json --trace=$traces/keycloak --objective=1,0 --output=$output/aplcachetf-keycloak-parameters.json >> $output/aplcachetf-keycloak
+
+time java -jar $memoizeittf --tfstore=$output/tfcache-storage-killbill.json --trace=$traces/killbill --objective=1,0 --callgraph=$callgraphs/killbill.txt >> $output/memoizeittf-exhaustive-killbill
+time java -jar $aplcachetf --tfstore=$output/tfcache-storage-killbill.json --trace=$traces/killbill --objective=1,0 --output=$output/aplcachetf-killbill-parameters.json >> $output/aplcachetf-killbill
+
+time java -jar $memoizeittf --tfstore=$output/tfcache-storage-petclinic.json --trace=$traces/petclinic --objective=1,0 --callgraph=$callgraphs/petclinic.txt >> $output/memoizeittf-exhaustive-petclinic
+time java -jar $aplcachetf --tfstore=$output/tfcache-storage-petclinic.json --trace=$traces/petclinic --objective=1,0 --output=$output/aplcachetf-petclinic-parameters.json >> $output/aplcachetf-petclinic
+
+time java -jar $memoizeittf --tfstore=$output/tfcache-storage-shopizer.json --trace=$traces/shopizer --objective=1,0 --callgraph=$callgraphs/shopizer.txt >> $output/memoizeittf-exhaustive-shopizer
+time java -jar $aplcachetf --tfstore=$output/tfcache-storage-shopizer.json --trace=$traces/shopizer --objective=1,0 --output=$output/aplcachetf-shopizer-parameters.json >> $output/aplcachetf-shopizer
+
+time java -jar $memoizeittf --tfstore=$output/tfcache-storage-thingsboard.json --trace=$traces/thingsboard --objective=1,0 --callgraph=$callgraphs/thingsboard.txt >> $output/memoizeittf-exhaustive-thingsboard
+time java -jar $aplcachetf --tfstore=$output/tfcache-storage-thingsboard.json --trace=$traces/thingsboard --objective=1,0 --output=$output/aplcachetf-thingsboard-parameters.json >> $output/aplcachetf-thingsboard