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 EXP1742206914
Date 2025-03-17 12:08:39
Text rand128 (alphabet : 128 - size : 1048576 bytes)
2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | |
TVSBS | 0.02 2.48 2.29 - 3.01 | 0.02 1.87 1.72 - 2.20 | 0.02 1.36 1.26 - 1.52 | 0.02 1.02 0.93 - 1.44 | 0.02 0.82 0.73 - 0.99 | 0.02 0.71 0.64 - 0.81 | 0.02 0.63 0.57 - 0.80 | 0.02 0.61 0.55 - 0.77 | 0.02 0.58 0.52 - 0.65 | 0.02 0.56 0.51 - 0.70 | 0.02 0.56 0.51 - 0.77 | 0.00 - 0.52 - 0.52 |
SBNDMQ2 | 0.01 1.30 1.24 - 1.65 | 0.01 0.78 0.71 - 0.93 | 0.01 0.62 0.57 - 0.77 | 0.01 0.58 0.52 - 0.76 | 0.01 0.55 0.51 - 0.81 | 0.01 0.55 0.51 - 0.79 | 0.01 0.54 0.50 - 0.81 | 0.01 0.55 0.50 - 0.74 | 0.01 0.55 0.51 - 0.78 | 0.01 0.56 0.51 - 0.78 | 0.01 0.57 0.51 - 0.76 | 0.01 0.57 0.51 - 0.87 |
BXS2 | 0.01 1.88 1.81 - 2.10 | 0.01 0.84 0.77 - 1.00 | 0.01 0.65 0.60 - 0.84 | 0.01 0.57 0.53 - 0.92 | 0.01 0.55 0.50 - 0.66 | 0.01 0.55 0.50 - 0.69 | 0.01 0.54 0.50 - 0.61 | 0.01 0.54 0.50 - 0.64 | 0.01 0.55 0.51 - 0.62 | 0.01 0.57 0.50 - 0.86 | 0.01 0.58 0.51 - 0.84 | 0.01 0.57 0.51 - 0.80 |
FS-W8 | 0.02 0.95 0.88 - 1.05 | 0.02 0.74 0.68 - 0.92 | 0.02 0.63 0.58 - 0.83 | 0.02 0.57 0.53 - 0.74 | 0.02 0.55 0.51 - 0.70 | 0.02 0.54 0.50 - 0.66 | 0.02 0.53 0.49 - 0.68 | 0.02 0.53 0.49 - 0.70 | 0.02 0.53 0.49 - 0.70 | 0.03 0.56 0.50 - 0.84 | 0.04 0.58 0.51 - 0.82 | 0.06 0.61 0.53 - 0.86 |
FSBNDM-W6 | 0.01 1.88 1.80 - 2.06 | 0.01 1.88 1.80 - 2.20 | 0.01 0.62 0.58 - 1.03 | 0.01 0.57 0.52 - 0.81 | 0.01 0.54 0.50 - 0.63 | 0.01 0.54 0.50 - 0.65 | 0.01 0.54 0.50 - 0.62 | 0.01 0.54 0.50 - 0.65 | 0.01 0.54 0.50 - 0.73 | 0.01 0.55 0.50 - 0.82 | 0.00 - 0.01 - 0.83 | 0.01 0.56 0.50 - 0.81 |
FSBNDMQ20 | 0.01 1.37 1.33 - 1.60 | 0.01 0.80 0.73 - 1.25 | 0.01 0.63 0.58 - 0.71 | 0.01 0.57 0.53 - 0.74 | 0.01 0.55 0.50 - 0.74 | 0.01 0.55 0.50 - 0.81 | 0.01 0.55 0.51 - 0.80 | 0.01 0.55 0.51 - 0.76 | 0.01 0.55 0.50 - 0.71 | 0.01 0.60 0.51 - 0.88 | 0.01 0.58 0.51 - 0.81 | 0.01 0.58 0.51 - 0.86 |
LWFR4 | 0.01 1.88 1.75 - 2.11 | 0.01 1.85 1.77 - 2.20 | 0.01 0.79 0.72 - 1.03 | 0.01 0.62 0.57 - 0.83 | 0.01 0.57 0.52 - 0.64 | 0.01 0.55 0.51 - 0.69 | 0.01 0.54 0.50 - 0.68 | 0.02 0.53 0.49 - 0.69 | 0.02 0.53 0.49 - 0.78 | 0.03 0.59 0.50 - 1.15 | 0.05 0.61 0.52 - 1.81 | 0.10 0.64 0.56 - 0.87 |
QF34 | 0.01 1.88 1.80 - 2.26 | 0.01 1.08 1.04 - 1.24 | 0.01 0.71 0.65 - 0.79 | 0.01 0.61 0.55 - 0.89 | 0.01 0.56 0.52 - 0.72 | 0.01 0.54 0.50 - 0.72 | 0.01 0.53 0.49 - 0.85 | 0.01 0.52 0.48 - 0.79 | 0.01 0.54 0.48 - 0.78 | 0.01 0.55 0.48 - 0.83 | 0.01 0.58 0.49 - 0.83 | 0.01 0.54 0.48 - 0.75 |
QF43 | 0.01 1.88 1.80 - 2.34 | 0.01 1.88 1.80 - 2.13 | 0.01 0.76 0.69 - 1.00 | 0.01 0.61 0.56 - 0.84 | 0.01 0.56 0.52 - 0.67 | 0.01 0.54 0.50 - 0.68 | 0.01 0.53 0.49 - 0.65 | 0.01 0.52 0.48 - 0.59 | 0.01 0.52 0.48 - 0.65 | 0.01 0.55 0.48 - 0.92 | 0.01 0.57 0.49 - 0.79 | 0.01 0.54 0.48 - 0.76 |
TSA | 0.01 1.84 1.77 - 2.22 | 0.01 1.17 1.13 - 1.57 | 0.01 0.84 0.78 - 0.91 | 0.01 0.67 0.62 - 0.78 | 0.01 0.59 0.55 - 0.73 | 0.01 0.55 0.51 - 0.82 | 0.02 0.63 0.58 - 0.96 | 0.02 0.63 0.56 - 0.96 | 0.02 0.61 0.55 - 0.92 | 0.03 0.70 0.56 - 1.03 | 0.04 0.71 0.58 - 1.11 | 0.06 0.72 0.60 - 0.99 |
WFRQ3 | 0.01 1.88 1.80 - 2.04 | 0.01 2.01 1.96 - 2.27 | 0.01 0.89 0.82 - 1.03 | 0.01 0.64 0.59 - 1.16 | 0.01 0.57 0.53 - 0.66 | 0.01 0.55 0.51 - 0.63 | 0.01 0.54 0.50 - 0.63 | 0.01 0.53 0.49 - 0.68 | 0.01 0.53 0.48 - 0.65 | 0.02 0.56 0.49 - 0.84 | 0.02 0.55 0.49 - 0.77 | 0.03 0.56 0.51 - 0.76 |
TWFR3 | 0.01 1.88 1.81 - 1.97 | 0.01 1.63 1.57 - 1.78 | 0.01 0.80 0.74 - 0.97 | 0.01 0.61 0.56 - 0.75 | 0.01 0.56 0.52 - 0.73 | 0.01 0.55 0.51 - 0.75 | 0.01 0.54 0.50 - 0.67 | 0.01 0.53 0.49 - 0.65 | 0.02 0.53 0.49 - 0.79 | 0.03 0.57 0.49 - 0.86 | 0.04 0.57 0.51 - 0.78 | 0.07 0.59 0.53 - 0.81 |
TWFRQ4 | 0.01 1.88 1.80 - 2.29 | 0.01 1.85 1.77 - 2.07 | 0.01 0.79 0.72 - 0.92 | 0.01 0.62 0.57 - 0.78 | 0.01 0.57 0.52 - 0.70 | 0.01 0.55 0.51 - 0.69 | 0.01 0.54 0.50 - 0.63 | 0.01 0.53 0.49 - 0.61 | 0.01 0.52 0.48 - 0.87 | 0.03 0.70 0.57 - 1.03 | 0.04 0.69 0.58 - 0.97 | 0.05 0.71 0.59 - 1.15 |
MUSL1 | 0.00 1.36 1.31 - 1.72 | 0.00 1.50 1.45 - 1.86 | 0.01 0.76 0.68 - 0.87 | 0.01 0.69 0.62 - 0.78 | 0.01 0.66 0.60 - 0.91 | 0.01 0.64 0.59 - 0.77 | 0.01 0.61 0.57 - 0.75 | 0.01 0.60 0.54 - 0.75 | 0.01 0.59 0.54 - 0.81 | 0.01 0.68 0.55 - 0.99 | 0.01 0.66 0.54 - 0.92 | 0.02 0.67 0.56 - 0.97 |
SIMDKR | 0.01 0.55 0.51 - 0.67 | 0.01 0.55 0.51 - 0.76 | 0.01 0.55 0.51 - 0.64 | 0.01 0.56 0.51 - 0.82 | 0.01 0.55 0.51 - 0.64 | 0.01 0.55 0.51 - 0.63 | 0.01 0.55 0.51 - 0.66 | 0.01 0.55 0.51 - 0.62 | 0.01 0.55 0.51 - 0.75 | 0.01 0.59 0.51 - 0.87 | 0.01 0.58 0.51 - 0.78 | 0.01 0.58 0.51 - 0.88 |
EPSM | 0.00 0.60 0.55 - 0.80 | 0.01 0.62 0.58 - 0.73 | 0.01 0.73 0.67 - 0.97 | 0.01 0.62 0.57 - 0.77 | 0.01 0.56 0.52 - 0.70 | 0.01 0.54 0.50 - 0.65 | 0.01 0.54 0.50 - 0.84 | 0.02 0.54 0.50 - 0.76 | 0.03 0.55 0.51 - 0.64 | 0.05 0.61 0.55 - 0.86 | 0.10 0.69 0.60 - 0.93 | 0.21 0.83 0.74 - 1.23 |
HC4 | 0.00 - 0.00 - 0.00 | 0.01 1.69 1.62 - 1.98 | 0.01 0.76 0.70 - 0.86 | 0.01 0.61 0.56 - 0.76 | 0.01 0.56 0.52 - 0.66 | 0.01 0.54 0.50 - 0.70 | 0.01 0.54 0.49 - 0.76 | 0.01 0.52 0.48 - 0.61 | 0.01 0.52 0.48 - 0.74 | 0.01 0.55 0.48 - 0.81 | 0.01 0.54 0.48 - 0.83 | 0.01 0.55 0.48 - 0.76 |
LHC3 | 0.00 - 0.00 - 0.00 | 0.01 1.12 1.07 - 1.48 | 0.01 0.73 0.66 - 0.92 | 0.01 0.61 0.56 - 0.74 | 0.01 0.57 0.52 - 0.79 | 0.01 0.55 0.51 - 0.70 | 0.01 0.54 0.49 - 0.67 | 0.01 0.53 0.49 - 0.67 | 0.01 0.52 0.48 - 0.63 | 0.01 0.55 0.48 - 0.76 | 0.02 0.55 0.48 - 0.78 | 0.03 0.55 0.49 - 0.82 |
LHC7 | 0.00 - 0.00 - 0.00 | 0.00 - 0.00 - 0.00 | 0.01 1.68 1.61 - 1.76 | 0.01 0.75 0.70 - 0.99 | 0.01 0.61 0.56 - 0.73 | 0.01 0.56 0.52 - 0.66 | 0.01 0.54 0.50 - 0.63 | 0.01 0.53 0.49 - 0.64 | 0.01 0.52 0.48 - 0.61 | 0.01 0.55 0.48 - 0.77 | 0.02 0.55 0.49 - 0.76 | 0.03 0.56 0.49 - 0.80 |
FHC3 | 0.00 - 0.00 - 0.00 | 0.01 1.03 0.99 - 1.36 | 0.01 0.69 0.63 - 0.88 | 0.01 0.59 0.55 - 0.67 | 0.01 0.56 0.52 - 0.70 | 0.01 0.54 0.50 - 0.73 | 0.01 0.53 0.49 - 0.84 | 0.01 0.53 0.48 - 0.68 | 0.01 0.52 0.48 - 0.70 | 0.01 0.55 0.48 - 0.74 | 0.01 0.54 0.48 - 0.75 | 0.01 0.54 0.48 - 0.82 |
Table 1. Running times of experimental tests n.EXP1742206914. 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
LWFR4
QF34
QF43
TSA
WFRQ3
TWFR3
TWFRQ4
MUSL1
SIMDKR
EPSM
HC4
LHC3
LHC7
FHC3
Chart 1. Plot of the running times of experimental tests n.EXP1742206914. 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.
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.
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.