HOW TO USE 1. Copy _site/cgi-bin/see.sh to _site/log/ 2. Set the directory counta (TOTAL) 3. Run script ./seed.sh 4. In _site/cgi_bin/ execute indexer script (e.g., perl sa_indexer.pl) 5. Run search query: QUERY_STRING="q=ard" perl find_sa_mmap.cgi Directory structure: . |-- seed.sh (Shell script) |-- benchmark.pl (The runner we just wrote) |-- _site | |-- cgi-bin | | |-- indexer.pl (Creates the SA index) | | |-- find_sa.cgi (Suffix Array search) | | `-- find_regex.cgi (Regex search) | `-- log/ (Created by seed.sh) chmod +x seed.sh benchmark.pl _site/cgi-bin/*.cgi _site/cgi-bin/*.pl