$ chmod +x testme.sh
$ ./testme.sh
Tests against data that we already validated using grep -E "^PREFIX.*" | sort
and stored in output files to determine that each backend works properly.
Uses measure
program to determine memory usage.
Uses Python's time
module to determine search / insertion time for each
backend.
Dependencies: Python 3, pip, Bash, gcc
$ git clone https://github.com/noyoshi/LoLBurst
$ cd LoLBurst
$ chmod +x download.sh
$ ./download.sh
$ FLASK_APP=project.py flask run -h [IPADDRESS]
$ chmod +x benchmark.py
$ cat INPUT_FILE | ./benchmark.py -[ust] "PREFIX"
project.py
is the flask application used to manage the server and handlebase.py
contains the backend implementatins for the auto complete / prefixdownload.py
and download.sh
are used to download assets from the Riot Games API and League ofhelpers.py
and item_helper.py
handle API calls and create, manage, andmeasure.c
is the provided measure program to determine memory usagebenchmark.py
is a script to run the backends independently and check fortest_project.py
uses the unit testing libraries for Python and Flask toproject.py
filetestme.sh
is the script we run to test the programtests/
is the folder that contains the outputs for various tests done intest_project.py
templates/
is the folder for flask containing the HTML templatesstatic/
contain static files for the front end, such as javascript and css*.json
are all json files containing Riot API static data (cached locally as