From de9d82e8074c9b67a04989f9b6be62890b7c95bb Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Wed, 6 May 2026 21:27:51 +0800 Subject: Run benchmark. --- result.txt | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 result.txt (limited to 'result.txt') diff --git a/result.txt b/result.txt new file mode 100644 index 0000000..b9407ce --- /dev/null +++ b/result.txt @@ -0,0 +1,35 @@ +============================================================= +SEARCH BENCHMARK: Suffix array vs. Linear regex +ARTICLE SIZE: 8 KB +============================================================= + +500 files (Targeting: keyword_-1): +----------------+----------------------+--------------------- +METRIC | SA | REGEX +----------------+----------------------+--------------------- +Search time | 0.0014s | 0.0451s +Peak RAM | 8124 KB | 9612 KB +Indexing time | 18.1865s | N/A +Index size | 19610.39 KB | N/A +----------------+----------------------+--------------------- + +1000 files (Targeting: keyword_-1): +----------------+----------------------+--------------------- +METRIC | SA | REGEX +----------------+----------------------+--------------------- +Search time | 0.0021s | 0.0918s +Peak RAM | 8280 KB | 9960 KB +Indexing time | 43.1748s | N/A +Index size | 39225.06 KB | N/A +----------------+----------------------+--------------------- + +10000 files (Targeting: keyword_-1): +----------------+----------------------+--------------------- +METRIC | SA | REGEX +----------------+----------------------+--------------------- +Search time | 0.0173s | 1.1275s +Peak RAM | 11848 KB | 13392 KB +Indexing time | 663.3909s | N/A +Index size | 392263.01 KB | N/A +----------------+----------------------+--------------------- + -- cgit v1.2.3