SMARTString Matching Algorithms Research Tool
by Simone Faro - www.dmi.unict.it/~faro/smart/ - email: faro@dmi.unict.it
Report of Experimental Results
Test Code EXP1790259501
Date 2026-09-24 17:09:46
Text englishTexts (alphabet : 128 - size : 1048576 bytes)
| 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | |
| TVSBS | 0.01 1.28 0.94 - 1.89 | 0.01 1.03 0.73 - 1.67 | 0.01 0.64 0.48 - 1.22 | 0.01 0.47 0.38 - 0.91 | 0.01 0.40 0.32 - 0.66 | 0.01 0.34 0.28 - 0.45 | 0.01 0.26 0.22 - 0.58 | 0.01 0.24 0.22 - 0.39 | 0.01 0.25 0.23 - 0.42 | 0.01 0.24 0.21 - 0.34 | 0.01 0.25 0.21 - 0.34 | 0.00 - 0.22 - 0.22 |
| SBNDMQ2 | 0.00 0.71 0.60 - 1.28 | 0.00 0.49 0.34 - 1.01 | 0.00 0.37 0.25 - 0.70 | 0.00 0.34 0.22 - 0.90 | 0.00 0.35 0.25 - 0.52 | 0.00 0.34 0.24 - 0.50 | 0.00 0.30 0.23 - 0.70 | 0.00 0.31 0.21 - 0.80 | 0.00 0.31 0.24 - 0.45 | 0.00 0.31 0.23 - 0.49 | 0.00 0.34 0.23 - 0.49 | 0.00 0.33 0.23 - 0.49 |
| BXS2 | 0.00 0.84 0.80 - 1.09 | 0.00 0.48 0.34 - 1.03 | 0.00 0.38 0.24 - 1.36 | 0.00 0.33 0.22 - 1.02 | 0.00 0.34 0.24 - 0.49 | 0.00 0.34 0.24 - 0.50 | 0.00 0.30 0.22 - 0.68 | 0.00 0.31 0.22 - 0.88 | 0.00 0.31 0.23 - 0.45 | 0.00 0.31 0.23 - 0.46 | 0.00 0.34 0.25 - 0.50 | 0.00 0.34 0.24 - 0.49 |
| FS-W8 | 0.00 - 999.00 - 168916.58 | 0.00 - 745.14 - 745.14 | 0.00 - 0.84 - 615.11 | 0.29 0.94 0.49 - 72.00 | 0.01 0.54 0.43 - 0.72 | 0.01 0.44 0.33 - 0.66 | 0.01 0.33 0.26 - 0.68 | 0.01 0.30 0.25 - 0.64 | 0.01 0.30 0.25 - 0.47 | 0.01 0.31 0.25 - 0.44 | 0.02 0.31 0.24 - 0.45 | 0.03 0.31 0.25 - 0.42 |
| FSBNDM-W6 | 0.00 - 999.00 - 168051.95 | 0.00 - 634.88 - 634.88 | 0.00 - 0.87 - 557.21 | 0.29 0.94 0.50 - 72.06 | 0.01 0.55 0.41 - 0.80 | 0.01 0.42 0.32 - 0.63 | 0.01 0.33 0.26 - 0.79 | 0.01 0.30 0.25 - 0.58 | 0.01 0.29 0.25 - 0.44 | 0.01 0.32 0.25 - 0.45 | 0.02 0.31 0.25 - 0.44 | 0.03 0.31 0.24 - 0.44 |
| FSBNDMQ20 | 0.00 0.70 0.59 - 1.04 | 0.00 0.45 0.31 - 1.17 | 0.00 0.36 0.25 - 0.82 | 0.00 0.33 0.23 - 0.98 | 0.00 0.34 0.24 - 0.52 | 0.00 0.30 0.21 - 0.71 | 0.00 0.30 0.23 - 0.92 | 0.00 0.31 0.21 - 0.71 | 0.00 0.31 0.23 - 0.46 | 0.00 0.34 0.24 - 0.49 | 0.00 0.34 0.23 - 0.54 | 0.00 0.34 0.23 - 0.51 |
| FSBNDMQ41 | 0.00 0.85 0.81 - 1.08 | 0.00 0.58 0.51 - 0.98 | 0.00 0.34 0.29 - 0.59 | 0.00 0.28 0.24 - 0.40 | 0.00 0.27 0.22 - 0.38 | 0.00 0.24 0.20 - 0.58 | 0.00 0.24 0.20 - 0.54 | 0.00 0.23 0.19 - 0.62 | 0.00 0.25 0.21 - 0.39 | 0.00 0.27 0.22 - 0.38 | 0.00 0.27 0.21 - 0.39 | 0.00 0.27 0.22 - 0.39 |
| LWFR4 | 0.00 0.84 0.80 - 1.09 | 0.00 0.83 0.75 - 2.10 | 0.00 0.35 0.30 - 0.59 | 0.01 0.27 0.24 - 0.40 | 0.01 0.27 0.22 - 0.38 | 0.01 0.22 0.18 - 0.52 | 0.01 0.22 0.20 - 0.33 | 0.01 0.20 0.18 - 0.37 | 0.01 0.21 0.19 - 0.30 | 0.01 0.24 0.19 - 0.33 | 0.02 0.24 0.20 - 0.44 | 0.04 0.26 0.22 - 0.54 |
| QF34 | 0.00 0.85 0.80 - 1.20 | 0.00 0.57 0.46 - 1.50 | 0.00 0.34 0.28 - 0.82 | 0.00 0.28 0.24 - 0.43 | 0.00 0.28 0.22 - 0.39 | 0.00 0.23 0.19 - 0.41 | 0.00 0.23 0.20 - 0.35 | 0.00 0.21 0.18 - 0.45 | 0.00 0.21 0.19 - 0.30 | 0.00 0.23 0.19 - 0.32 | 0.01 0.23 0.19 - 0.33 | 0.01 0.23 0.19 - 0.35 |
| QF43 | 0.00 0.84 0.80 - 1.18 | 0.00 0.88 0.82 - 1.19 | 0.00 0.36 0.29 - 0.94 | 0.00 0.27 0.23 - 0.37 | 0.00 0.26 0.21 - 0.39 | 0.00 0.22 0.19 - 0.60 | 0.00 0.24 0.20 - 0.33 | 0.00 0.20 0.17 - 0.57 | 0.00 0.20 0.19 - 0.30 | 0.00 0.20 0.17 - 0.40 | 0.00 0.22 0.18 - 0.31 | 0.01 0.22 0.18 - 0.34 |
| TSA | 0.00 0.83 0.72 - 1.14 | 0.00 0.58 0.46 - 0.93 | 0.00 0.39 0.31 - 0.82 | 0.00 0.32 0.26 - 0.48 | 0.00 0.30 0.23 - 0.43 | 0.00 0.24 0.20 - 0.49 | 0.01 0.39 0.30 - 0.55 | 0.01 0.30 0.25 - 0.73 | 0.01 0.30 0.25 - 0.45 | 0.01 0.28 0.23 - 0.58 | 0.02 0.32 0.25 - 0.45 | 0.03 0.29 0.24 - 0.41 |
| WFRQ3 | 0.00 0.85 0.81 - 2.46 | 0.01 0.97 0.84 - 1.64 | 0.00 0.45 0.34 - 1.00 | 0.00 0.31 0.25 - 0.46 | 0.01 0.30 0.24 - 0.42 | 0.01 0.25 0.20 - 0.74 | 0.01 0.26 0.22 - 0.37 | 0.01 0.21 0.19 - 0.47 | 0.01 0.21 0.20 - 0.34 | 0.01 0.20 0.17 - 0.52 | 0.01 0.23 0.19 - 0.50 | 0.01 0.23 0.20 - 0.60 |
| TWFR3 | 0.00 0.84 0.80 - 1.14 | 0.00 0.81 0.73 - 1.26 | 0.00 0.39 0.32 - 0.72 | 0.01 0.29 0.24 - 0.40 | 0.01 0.29 0.22 - 0.42 | 0.01 0.24 0.19 - 0.61 | 0.01 0.24 0.20 - 0.44 | 0.01 0.21 0.19 - 0.46 | 0.01 0.21 0.19 - 0.32 | 0.01 0.20 0.18 - 0.47 | 0.02 0.24 0.20 - 0.55 | 0.03 0.26 0.21 - 0.68 |
| TWFRQ4 | 0.00 0.84 0.81 - 1.07 | 0.01 0.87 0.83 - 1.34 | 0.00 0.36 0.30 - 0.82 | 0.01 0.27 0.24 - 0.40 | 0.01 0.27 0.21 - 0.35 | 0.00 0.22 0.19 - 0.41 | 0.01 0.21 0.18 - 0.61 | 0.01 0.20 0.18 - 0.38 | 0.01 0.21 0.19 - 0.31 | 0.01 0.28 0.23 - 0.63 | 0.02 0.31 0.25 - 0.44 | 0.03 0.32 0.25 - 0.43 |
| MUSL1 | 0.00 0.65 0.24 - 0.98 | 0.00 0.65 0.33 - 0.98 | 0.00 0.97 0.51 - 1.57 | 0.00 0.68 0.52 - 1.02 | 0.00 0.54 0.42 - 0.72 | 0.00 0.38 0.30 - 0.68 | 0.00 0.33 0.27 - 0.64 | 0.00 0.30 0.25 - 0.54 | 0.00 0.30 0.25 - 0.47 | 0.01 0.27 0.22 - 0.57 | 0.01 0.29 0.22 - 0.43 | 0.01 0.29 0.23 - 0.38 |
| SIMDKR | 0.00 0.28 0.20 - 0.44 | 0.00 0.30 0.21 - 0.63 | 0.00 0.25 0.18 - 0.95 | 0.00 0.28 0.20 - 0.47 | 0.00 0.28 0.19 - 0.44 | 0.00 0.25 0.19 - 0.65 | 0.00 0.25 0.18 - 0.59 | 0.00 0.25 0.19 - 0.55 | 0.00 0.26 0.20 - 0.41 | 0.00 0.26 0.20 - 0.40 | 0.00 0.26 0.20 - 0.43 | 0.00 0.29 0.21 - 0.44 |
| KRSIMD | 0.00 0.76 0.49 - 1.21 | 0.00 0.64 0.51 - 1.21 | 0.00 0.53 0.47 - 1.14 | 0.00 0.61 0.51 - 0.72 | 0.00 0.60 0.51 - 0.73 | 0.00 0.53 0.49 - 1.06 | 0.00 0.54 0.48 - 1.53 | 0.00 0.55 0.50 - 1.15 | 0.00 0.58 0.52 - 0.72 | 0.00 0.59 0.54 - 0.74 | 0.00 0.61 0.56 - 0.80 | 0.00 1.06 0.98 - 1.33 |
| EPSM | 0.00 0.26 0.23 - 0.39 | 0.00 0.29 0.25 - 0.39 | 0.00 0.31 0.25 - 0.96 | 0.00 0.29 0.24 - 0.39 | 0.00 0.25 0.21 - 0.35 | 0.00 0.21 0.18 - 0.50 | 0.01 0.20 0.18 - 0.44 | 0.01 0.21 0.18 - 0.54 | 0.01 0.22 0.20 - 0.31 | 0.02 0.23 0.22 - 0.31 | 0.05 0.27 0.25 - 0.40 | 0.12 0.38 0.31 - 0.55 |
| HC4 | 0.00 - 0.00 - 0.00 | 0.00 0.83 0.78 - 1.22 | 0.00 0.35 0.30 - 0.72 | 0.00 0.30 0.25 - 0.43 | 0.00 0.26 0.22 - 0.34 | 0.00 0.22 0.19 - 0.39 | 0.00 0.21 0.18 - 0.59 | 0.00 0.20 0.18 - 0.44 | 0.00 0.20 0.19 - 0.30 | 0.00 0.20 0.18 - 0.30 | 0.00 0.20 0.18 - 0.34 | 0.01 0.23 0.19 - 0.51 |
| LHC3 | 0.00 - 0.00 - 0.00 | 0.00 0.54 0.47 - 1.23 | 0.00 0.34 0.27 - 0.79 | 0.00 0.31 0.24 - 0.43 | 0.00 0.28 0.22 - 0.38 | 0.00 0.23 0.20 - 0.43 | 0.00 0.22 0.19 - 0.65 | 0.00 0.22 0.20 - 0.30 | 0.00 0.21 0.19 - 0.30 | 0.01 0.20 0.19 - 0.28 | 0.01 0.20 0.19 - 0.32 | 0.02 0.23 0.19 - 0.32 |
| LHC7 | 0.00 - 0.00 - 0.00 | 0.00 - 0.00 - 0.00 | 0.00 0.71 0.66 - 1.30 | 0.00 0.35 0.30 - 0.48 | 0.00 0.27 0.23 - 0.40 | 0.00 0.22 0.19 - 0.64 | 0.00 0.21 0.18 - 0.45 | 0.00 0.21 0.19 - 0.30 | 0.01 0.20 0.19 - 0.31 | 0.01 0.22 0.19 - 0.30 | 0.01 0.20 0.19 - 0.32 | 0.02 0.22 0.18 - 0.44 |
| FHC3 | 0.00 - 0.00 - 0.00 | 0.00 0.46 0.39 - 0.90 | 0.00 0.32 0.25 - 0.74 | 0.01 0.30 0.23 - 0.45 | 0.01 0.28 0.22 - 0.38 | 0.00 0.23 0.19 - 0.51 | 0.00 0.22 0.18 - 0.55 | 0.00 0.21 0.20 - 0.28 | 0.01 0.21 0.19 - 0.32 | 0.01 0.23 0.19 - 0.40 | 0.01 0.20 0.19 - 0.39 | 0.01 0.20 0.17 - 0.53 |
Table 1. Running times of experimental tests n.EXP1790259501. Each time value is the mean of 500 runs. Running times are in milliseconds.
Average Running Times
TVSBS
SBNDMQ2
BXS2
FS-W8
FSBNDM-W6
FSBNDMQ20
FSBNDMQ41
LWFR4
QF34
QF43
TSA
WFRQ3
TWFR3
TWFRQ4
MUSL1
SIMDKR
KRSIMD
EPSM
HC4
LHC3
LHC7
FHC3
Chart 1. Plot of the running times of experimental tests n.EXP1790259501. The x axes reports the length of the pattern (in a log scale) while the y axes reports the running time in milliseconds.
Worst Running Times
Best Running Times
TVSBS - Thathoo-Virmani-Sai-Balakrishnan-Sekar
Detailed plot of the running times relative to the TVSBS algorithm. The plot reports the mean and the distribution of the running times.
SBNDMQ2 - simplified bndm with q-grams
Detailed plot of the running times relative to the SBNDMQ2 algorithm. The plot reports the mean and the distribution of the running times.
BXS2 - BXS with q-grams limit
Detailed plot of the running times relative to the BXS2 algorithm. The plot reports the mean and the distribution of the running times.
FS-W8 - Multiple Sliding Windows
Detailed plot of the running times relative to the FS-W8 algorithm. The plot reports the mean and the distribution of the running times.
FSBNDM-W6 - fsbndm with multiple sliding windows
Detailed plot of the running times relative to the FSBNDM-W6 algorithm. The plot reports the mean and the distribution of the running times.
FSBNDMQ20 - fsbndm with q-grams and lookahead
Detailed plot of the running times relative to the FSBNDMQ20 algorithm. The plot reports the mean and the distribution of the running times.
FSBNDMQ41 - fsbndm with q-grams and lookahead
Detailed plot of the running times relative to the FSBNDMQ41 algorithm. The plot reports the mean and the distribution of the running times.
LWFR4 - Weak Factor Recognizer, Linear Version
Detailed plot of the running times relative to the LWFR4 algorithm. The plot reports the mean and the distribution of the running times.
QF34 - Q-gram Filtering q=3 s=4
Detailed plot of the running times relative to the QF34 algorithm. The plot reports the mean and the distribution of the running times.
QF43 - Q-gram Filtering q=4 s=3
Detailed plot of the running times relative to the QF43 algorithm. The plot reports the mean and the distribution of the running times.
TSA - word-wise popcount
Detailed plot of the running times relative to the TSA algorithm. The plot reports the mean and the distribution of the running times.
WFRQ3 - Weak Factor Recognizer with q-grams
Detailed plot of the running times relative to the WFRQ3 algorithm. The plot reports the mean and the distribution of the running times.
TWFR3 - Tuned Weak Factor Recognizer
Detailed plot of the running times relative to the TWFR3 algorithm. The plot reports the mean and the distribution of the running times.
TWFRQ4 - Tuned Weak Factor Recognizer with q-grams
Detailed plot of the running times relative to the TWFRQ4 algorithm. The plot reports the mean and the distribution of the running times.
MUSL1 - musl memmem Two-way string-matching
Detailed plot of the running times relative to the MUSL1 algorithm. The plot reports the mean and the distribution of the running times.
SIMDKR - SIMD generic Rabin-Karp variants
Detailed plot of the running times relative to the SIMDKR algorithm. The plot reports the mean and the distribution of the running times.
KRSIMD - Polynomial SIMD Rabin-Karp (AVX2)
Detailed plot of the running times relative to the KRSIMD algorithm. The plot reports the mean and the distribution of the running times.
EPSM - SSE4 Exact Packed String Matching
Detailed plot of the running times relative to the EPSM algorithm. The plot reports the mean and the distribution of the running times.
HC4 - HashChain q=4
Detailed plot of the running times relative to the HC4 algorithm. The plot reports the mean and the distribution of the running times.
LHC3 - Linear HashChain q=3
Detailed plot of the running times relative to the LHC3 algorithm. The plot reports the mean and the distribution of the running times.
LHC7 - Linear HashChain q=7
Detailed plot of the running times relative to the LHC7 algorithm. The plot reports the mean and the distribution of the running times.
FHC3 - Fast HashChain q=3
Detailed plot of the running times relative to the FHC3 algorithm. The plot reports the mean and the distribution of the running times.