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 EXP1712145140
Date 2024:04:03 15:26:40
Text rand16 (alphabet : 16 - size : 1048576 bytes)
| 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 |
|
TVSBS |
0.23 3.79 2.24 - 6.99 | 0.21 2.49 1.72 - 5.74 | 0.19 1.72 1.28 - 7.09 | 0.19 1.30 0.97 - 4.01 | 0.20 1.17 0.81 - 2.65 | 0.17 0.90 0.72 - 2.20 | 0.20 0.99 0.66 - 2.30 | 0.24 1.13 0.64 - 2.51 | 0.22 1.14 0.74 - 2.17 | 0.20 1.08 0.76 - 2.52 | 0.21 1.09 0.77 - 2.20 | 0.21 1.10 0.77 - 2.51 |
FJS |
0.02 3.79 2.37 - 7.47 | 0.01 2.40 1.71 - 7.41 | 0.02 1.87 1.23 - 5.41 | 0.01 1.27 0.97 - 3.55 | 0.02 1.29 0.79 - 3.15 | 0.02 1.21 0.71 - 3.01 | 0.02 1.26 0.69 - 2.66 | 0.02 1.28 0.70 - 2.92 | 0.02 1.14 0.72 - 3.07 | 0.03 1.38 0.72 - 2.79 | 0.03 1.30 0.71 - 2.87 | 0.04 1.20 0.73 - 2.99 |
HASH8 |
0.01 1.93 1.44 - 5.32 | 0.01 1.98 1.45 - 5.68 | 0.02 16.60 9.06 - 25.82 | 0.01 1.82 1.41 - 5.29 | 0.01 1.17 0.81 - 2.83 | 0.01 0.98 0.63 - 2.07 | 0.01 0.89 0.56 - 1.67 | 0.01 0.80 0.52 - 1.75 | 0.02 0.94 0.62 - 1.75 | 0.02 1.09 0.64 - 1.90 | 0.02 0.92 0.62 - 2.03 | 0.02 0.91 0.63 - 2.10 |
SO |
0.02 2.26 1.18 - 4.87 | 0.01 1.81 1.19 - 5.97 | 0.02 2.37 1.20 - 5.71 | 0.01 1.72 1.17 - 5.50 | 0.01 1.91 1.20 - 5.41 | 0.01 1.69 1.08 - 3.77 | 0.01 1.50 1.08 - 4.11 | 0.02 1.72 1.09 - 5.11 | 0.01 1.64 1.07 - 4.22 | 0.01 1.52 1.08 - 3.77 | 0.01 1.61 1.07 - 3.79 | 0.02 1.71 1.08 - 3.90 |
SBNDM |
0.03 3.25 1.78 - 8.09 | 0.03 1.53 0.96 - 3.22 | 0.02 1.04 0.69 - 2.59 | 0.03 0.96 0.55 - 1.82 | 0.02 0.78 0.50 - 1.96 | 0.02 0.86 0.55 - 2.40 | 0.02 0.76 0.53 - 2.17 | 0.02 0.94 0.57 - 2.03 | 0.02 0.87 0.55 - 2.07 | 0.02 0.93 0.55 - 1.85 | 0.02 0.90 0.54 - 1.83 | 0.02 0.87 0.56 - 2.03 |
LBNDM |
0.01 2.57 1.34 - 7.25 | 0.01 2.15 1.16 - 5.14 | 0.02 2.32 1.24 - 4.79 | 0.02 1.42 0.75 - 3.13 | 0.01 0.83 0.53 - 2.04 | 0.01 0.77 0.53 - 1.90 | 0.01 0.82 0.50 - 1.87 | 0.02 0.93 0.53 - 1.65 | 0.01 0.79 0.54 - 1.95 | 0.02 1.15 0.68 - 2.75 | 0.02 3.95 2.08 - 10.70 | 0.02 4.63 2.89 - 11.72 |
SBNDM2 |
0.01 1.80 1.22 - 5.13 | 0.01 1.17 0.77 - 3.43 | 0.02 1.17 0.64 - 2.45 | 0.02 0.87 0.52 - 2.24 | 0.02 0.78 0.49 - 1.63 | 0.02 0.80 0.48 - 1.65 | 0.02 0.89 0.48 - 1.91 | 0.01 0.72 0.48 - 1.86 | 0.01 0.77 0.49 - 1.70 | 0.02 0.78 0.48 - 2.24 | 0.02 0.82 0.48 - 1.83 | 0.01 0.76 0.49 - 1.86 |
SBNDM-BMH |
0.02 3.04 1.87 - 8.22 | 0.02 1.87 1.31 - 4.83 | 0.03 2.12 1.11 - 3.98 | 0.02 1.44 0.73 - 2.79 | 0.03 0.99 0.53 - 2.16 | 0.02 0.80 0.55 - 2.30 | 0.02 0.90 0.54 - 1.92 | 0.02 0.95 0.55 - 1.87 | 0.02 0.91 0.55 - 1.83 | 0.02 0.84 0.56 - 2.06 | 0.02 0.83 0.55 - 3.19 | 0.02 0.87 0.56 - 2.07 |
FNDM |
0.01 2.61 1.33 - 6.32 | 0.02 1.95 1.18 - 4.64 | 0.02 1.96 1.07 - 3.95 | 0.02 1.39 0.78 - 3.22 | 0.02 0.95 0.58 - 2.34 | 0.02 1.06 0.56 - 2.05 | 0.01 0.85 0.56 - 1.91 | 0.01 0.90 0.56 - 2.34 | 0.02 1.01 0.55 - 2.18 | 0.01 0.86 0.54 - 1.99 | 0.01 0.81 0.55 - 2.04 | 0.01 0.81 0.55 - 1.98 |
FSBNDM |
0.01 2.06 1.23 - 4.98 | 0.02 1.36 0.86 - 3.49 | 0.01 1.05 0.66 - 2.92 | 0.02 0.99 0.55 - 2.13 | 0.01 0.76 0.50 - 2.04 | 0.01 0.69 0.50 - 1.78 | 0.02 0.88 0.50 - 1.80 | 0.01 0.82 0.50 - 2.02 | 0.02 1.04 0.50 - 1.65 | 0.02 0.89 0.50 - 1.77 | 0.01 0.79 0.50 - 2.15 | 0.01 0.73 0.52 - 1.91 |
SBNDMQ8 |
0.01 2.26 1.44 - 5.28 | 0.02 2.59 1.42 - 6.17 | 0.02 5.84 3.12 - 15.56 | 0.02 1.35 0.74 - 12.97 | 0.01 0.79 0.55 - 2.02 | 0.01 0.77 0.55 - 1.87 | 0.01 0.82 0.55 - 1.87 | 0.02 0.90 0.55 - 1.91 | 0.01 0.85 0.55 - 1.77 | 0.02 0.91 0.55 - 2.28 | 0.01 0.78 0.54 - 4.73 | 0.02 0.92 0.54 - 2.20 |
UFNDMQ2 |
0.02 2.02 1.03 - 4.24 | 0.02 1.15 0.78 - 2.89 | 0.02 0.99 0.62 - 2.51 | 0.02 0.79 0.54 - 2.22 | 0.01 0.66 0.49 - 1.67 | 0.01 0.74 0.50 - 2.01 | 0.01 0.76 0.50 - 1.62 | 0.01 0.81 0.49 - 1.73 | 0.01 0.83 0.50 - 2.16 | 0.01 0.81 0.50 - 1.90 | 0.01 0.80 0.51 - 1.86 | 0.01 0.76 0.50 - 2.06 |
UFNDMQ8 |
0.02 2.43 1.44 - 4.64 | 0.01 2.03 1.45 - 5.93 | 0.02 1.40 0.80 - 3.46 | 0.02 0.96 0.63 - 2.64 | 0.01 0.90 0.55 - 2.10 | 0.01 0.87 0.56 - 2.12 | 0.01 0.92 0.56 - 2.83 | 0.01 0.96 0.55 - 1.99 | 0.01 0.88 0.56 - 2.37 | 0.01 0.89 0.55 - 2.26 | 0.01 0.98 0.56 - 1.92 | 0.01 0.87 0.56 - 3.35 |
KBNDM |
0.02 3.91 2.18 - 7.04 | 0.01 1.84 1.32 - 5.44 | 0.02 1.52 0.89 - 2.95 | 0.01 1.05 0.69 - 2.74 | 0.01 0.75 0.60 - 1.81 | 0.02 0.90 0.55 - 1.83 | 0.02 0.72 0.50 - 1.85 | 0.02 0.86 0.50 - 2.08 | 0.02 0.84 0.50 - 2.14 | 0.02 0.81 0.51 - 1.97 | 0.02 0.79 0.52 - 1.69 | 0.02 0.89 0.51 - 1.77 |
FS-W2 |
0.05 3.14 1.75 - 5.45 | 0.05 1.94 1.15 - 10.00 | 0.05 1.45 0.83 - 3.02 | 0.04 1.11 0.71 - 2.83 | 0.05 1.03 0.62 - 2.26 | 0.05 0.97 0.59 - 2.18 | 0.04 0.87 0.58 - 2.02 | 0.05 0.90 0.58 - 1.85 | 0.05 0.83 0.58 - 2.11 | 0.07 1.03 0.59 - 2.06 | 0.08 0.95 0.60 - 1.97 | 0.10 0.88 0.61 - 2.04 |
LWFR5 |
0.02 2.65 1.45 - 5.54 | 0.02 2.36 1.44 - 9.51 | 0.08 3.44 1.78 - 15.71 | 0.07 0.99 0.59 - 3.14 | 0.07 0.79 0.52 - 1.79 | 0.08 0.84 0.50 - 1.93 | 0.07 0.72 0.49 - 1.81 | 0.08 0.78 0.49 - 1.75 | 0.08 0.73 0.47 - 1.58 | 0.10 0.72 0.47 - 1.61 | 0.12 0.75 0.47 - 1.93 | 0.16 0.73 0.50 - 1.98 |
QF43 |
0.02 2.57 1.45 - 4.49 | 0.02 2.27 1.44 - 5.94 | 0.02 1.04 0.72 - 2.26 | 0.02 0.79 0.55 - 2.00 | 0.02 0.67 0.48 - 4.63 | 0.02 0.75 0.46 - 1.73 | 0.02 0.67 0.46 - 1.65 | 0.02 0.77 0.44 - 1.54 | 0.02 0.63 0.42 - 1.95 | 0.02 0.64 0.41 - 1.54 | 0.03 0.67 0.41 - 1.67 | 0.03 0.62 0.41 - 1.70 |
SBNDM-W2 |
0.02 3.25 1.46 - 6.85 | 0.02 2.14 1.07 - 4.94 | 0.02 1.52 0.84 - 3.00 | 0.01 0.96 0.61 - 2.41 | 0.02 0.88 0.53 - 1.89 | 0.01 0.82 0.54 - 2.50 | 0.02 0.83 0.52 - 2.33 | 0.02 0.93 0.53 - 1.74 | 0.02 0.95 0.52 - 1.92 | 0.01 0.77 0.53 - 2.07 | 0.02 0.85 0.52 - 1.78 | 0.02 0.85 0.54 - 1.97 |
WFR2 |
0.07 2.96 1.46 - 7.40 | 0.06 1.49 0.89 - 4.77 | 0.07 1.21 0.71 - 2.54 | 0.06 0.93 0.60 - 2.04 | 0.07 0.99 0.58 - 2.35 | 0.07 0.85 0.56 - 2.18 | 0.06 0.75 0.51 - 4.01 | 0.07 0.83 0.51 - 1.76 | 0.07 0.75 0.48 - 1.92 | 0.08 0.70 0.45 - 1.78 | 0.10 0.69 0.47 - 1.70 | 0.18 0.94 0.48 - 2.14 |
TWFRQ2 |
0.07 2.50 1.24 - 6.24 | 0.08 1.62 0.82 - 3.12 | 0.07 1.20 0.66 - 2.67 | 0.07 1.03 0.62 - 2.46 | 0.06 0.90 0.58 - 2.28 | 0.07 0.96 0.56 - 1.96 | 0.06 0.74 0.52 - 2.12 | 0.07 0.76 0.50 - 1.87 | 0.08 0.81 0.47 - 1.56 | 0.09 0.85 0.45 - 1.66 | 0.09 0.81 0.45 - 1.56 | 0.13 1.00 0.45 - 1.74 |
TWFRQ4 |
0.02 2.23 1.45 - 5.34 | 0.08 2.98 1.58 - 7.20 | 0.07 1.12 0.71 - 2.73 | 0.06 0.82 0.56 - 1.86 | 0.06 0.75 0.52 - 2.15 | 0.07 0.78 0.49 - 1.87 | 0.07 0.75 0.48 - 1.69 | 0.07 0.72 0.48 - 1.50 | 0.08 0.81 0.46 - 1.54 | 0.09 0.91 0.45 - 1.62 | 0.07 0.65 0.45 - 1.85 | 0.10 0.81 0.45 - 1.57 |
WOM |
0.02 3.77 2.21 - 10.09 | 0.02 2.49 1.58 - 6.46 | 0.02 2.05 1.12 - 5.05 | 0.02 1.51 0.88 - 3.63 | 0.02 1.30 0.73 - 2.87 | 0.02 1.09 0.68 - 2.54 | 0.02 1.10 0.61 - 2.63 | 0.02 1.11 0.63 - 2.64 | 0.02 1.01 0.63 - 2.45 | 0.02 1.02 0.63 - 2.00 | 0.03 0.95 0.63 - 2.67 | 0.05 1.35 0.63 - 2.06 |
LIBC1 |
0.01 2.13 1.10 - 3.96 | 0.01 1.40 0.85 - 3.92 | 0.01 0.99 0.65 - 3.04 | 0.01 1.00 0.54 - 1.97 | 0.01 1.02 0.52 - 1.90 | 0.01 0.84 0.52 - 2.47 | 0.01 0.77 0.51 - 1.92 | 0.01 0.77 0.49 - 1.99 | 0.01 1.12 0.63 - 2.25 | 0.01 0.96 0.63 - 2.84 | 0.01 1.07 0.64 - 2.80 | 0.01 1.57 0.67 - 2.64 |
MUSL1 |
0.00 0.01 0.00 - 0.05 | 0.00 0.08 0.01 - 0.75 | 0.00 1.11 0.01 - 4.56 | 0.00 1.05 0.01 - 3.39 | 0.00 0.71 0.01 - 2.41 | 0.00 0.59 0.01 - 2.30 | 0.00 0.61 0.01 - 5.12 | 0.01 0.62 0.02 - 2.25 | 0.01 0.55 0.02 - 2.03 | 0.01 0.61 0.02 - 2.29 | 0.02 0.63 0.03 - 2.11 | 0.04 0.75 0.05 - 2.58 |
SIMDKR |
0.02 0.89 0.54 - 1.89 | 0.01 0.74 0.54 - 1.83 | 0.01 0.81 0.55 - 1.90 | 0.02 0.95 0.53 - 4.21 | 0.01 0.85 0.53 - 2.40 | 0.02 0.94 0.53 - 1.95 | 0.01 0.74 0.53 - 1.76 | 0.01 0.90 0.55 - 1.86 | 0.02 0.89 0.53 - 2.01 | 0.02 0.88 0.53 - 2.01 | 0.01 0.83 0.53 - 1.73 | 0.02 1.21 0.53 - 1.72 |
EPSM |
0.01 0.68 0.50 - 2.29 | 0.01 0.82 0.53 - 2.02 | 0.02 0.87 0.58 - 2.12 | 0.02 0.84 0.66 - 2.25 | 0.02 0.76 0.52 - 1.83 | 0.02 0.73 0.48 - 1.70 | 0.03 0.69 0.47 - 1.62 | 0.03 0.73 0.47 - 1.70 | 0.06 0.82 0.48 - 1.58 | 0.08 0.81 0.49 - 1.91 | 0.14 0.82 0.55 - 1.99 | 0.31 1.09 0.64 - 2.07 |
Average Running Times
Chart 1. Plot of the running times of experimental tests n.EXP1712145140. 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.
FJS - Franek-Jennings-Smyth
Detailed plot of the running times relative to the FJS algorithm. The plot reports the mean and the distribution of the running times.
HASH8 - Wu-Manber for Single Pattern Matching (q=8)
Detailed plot of the running times relative to the HASH8 algorithm. The plot reports the mean and the distribution of the running times.
SO - Shift-Or
Detailed plot of the running times relative to the SO algorithm. The plot reports the mean and the distribution of the running times.
SBNDM - Simplified BNDM
Detailed plot of the running times relative to the SBNDM algorithm. The plot reports the mean and the distribution of the running times.
LBNDM - long patterns bndm
Detailed plot of the running times relative to the LBNDM algorithm. The plot reports the mean and the distribution of the running times.
SBNDM2 - simplified bndm with loop-unrolling
Detailed plot of the running times relative to the SBNDM2 algorithm. The plot reports the mean and the distribution of the running times.
SBNDM-BMH - sbndm with horspool shift
Detailed plot of the running times relative to the SBNDM-BMH algorithm. The plot reports the mean and the distribution of the running times.
FNDM - forward nondeterministic dawg matching
Detailed plot of the running times relative to the FNDM algorithm. The plot reports the mean and the distribution of the running times.
FSBNDM - forward sbndm
Detailed plot of the running times relative to the FSBNDM algorithm. The plot reports the mean and the distribution of the running times.
SBNDMQ8 - simplified bndm with q-grams
Detailed plot of the running times relative to the SBNDMQ8 algorithm. The plot reports the mean and the distribution of the running times.
UFNDMQ2 - Upper bits fndm with q-grams
Detailed plot of the running times relative to the UFNDMQ2 algorithm. The plot reports the mean and the distribution of the running times.
UFNDMQ8 - Upper bits fndm with q-grams
Detailed plot of the running times relative to the UFNDMQ8 algorithm. The plot reports the mean and the distribution of the running times.
KBNDM - Factorized BNDM
Detailed plot of the running times relative to the KBNDM algorithm. The plot reports the mean and the distribution of the running times.
FS-W2 - Multiple Sliding Windows
Detailed plot of the running times relative to the FS-W2 algorithm. The plot reports the mean and the distribution of the running times.
LWFR5 - Weak Factor Recognizer, Linear Version
Detailed plot of the running times relative to the LWFR5 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.
SBNDM-W2 - SBNDM with lookahead
Detailed plot of the running times relative to the SBNDM-W2 algorithm. The plot reports the mean and the distribution of the running times.
WFR2 - Weak Factor Recognizer (m>=2)
Detailed plot of the running times relative to the WFR2 algorithm. The plot reports the mean and the distribution of the running times.
TWFRQ2 - Tuned Weak Factor Recognizer with q-grams
Detailed plot of the running times relative to the TWFRQ2 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.
WOM - Worst Occurrence Matcher
Detailed plot of the running times relative to the WOM algorithm. The plot reports the mean and the distribution of the running times.
LIBC1 - memmem
Detailed plot of the running times relative to the LIBC1 algorithm. The plot reports the mean and the distribution of the running times.
MUSL1 - musl memmem
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.