** Course project for Advanced Compilers (EECS583) **
The src/ folder contains the codes for out library (under src/queryManager/) and benchmarks (under src/benchmark/).
All parts are written in java. We have created scripts for making easy to use with the tool:
- To simply compile and run a application use
./javac.sh appName <parameters to run>. It will use the installedjavaccommand in your system. - To optimize your queries with our tool use our "SQL Pre-Fetcher Compiler" command:
./sqlpfc.sh appName <parameters to run>. This script will profile and analyze the queries and it will inject our sql pre-fetcher into your code. The output would be the class files of the.classfiles with injected pre-fetcher. You can optionally give a last parameterrunto the command, and it will run you app after optimization. - To run the experiments you can simply use the
run_github_expr.shandrun_yelp_expr.shscript. They will take care of everything and will save the results in theexpr-resultfolder. Before being able to run the experiments you'll need to set up the datasets. The instructions to do so are available inREADMEunder the folder of each application insrc/benchmark/.