summaryrefslogtreecommitdiffstats
path: root/README.txt
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2026-05-06 19:42:33 +0800
committerSadeep Madurange <sadeep@asciimx.com>2026-05-06 19:42:33 +0800
commit819bf74c2841fabdcc481e12e13615d48a92cb7f (patch)
tree00ba8c9105a96d88536f50f8ef96e838c04408e3 /README.txt
parenteddb76ad8c6e850c7e24f97ff27a185d48b104ee (diff)
downloadsite-search-bm-819bf74c2841fabdcc481e12e13615d48a92cb7f.tar.gz
Change directory structure and add benchmark runner.
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.txt b/README.txt
index c0e54ea..0bcf66a 100644
--- a/README.txt
+++ b/README.txt
@@ -6,3 +6,18 @@ HOW TO USE
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
+
+