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 16:07:56
Text rand128 (alphabet : 128 - size : 1048576 bytes)
| 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 |
|
TVSBS |
0.26 4.61 2.36 - 9.42 | 0.29 3.74 2.63 - 5.67 | 0.32 2.99 1.95 - 5.06 | 0.28 2.02 1.51 - 3.81 | 0.29 1.73 1.29 - 3.05 | 0.30 1.59 1.16 - 2.72 | 0.29 1.69 1.18 - 2.79 | 0.32 1.84 1.35 - 2.81 | 0.30 1.61 1.24 - 2.35 | 0.34 1.53 1.01 - 2.03 | 0.32 1.35 0.90 - 1.89 | 0.32 1.23 0.83 - 1.68 |
FJS |
0.02 3.45 1.88 - 6.86 | 0.02 3.11 2.01 - 5.56 | 0.02 2.07 1.45 - 2.88 | 0.02 1.61 1.16 - 2.46 | 0.02 1.45 0.99 - 2.01 | 0.02 1.27 0.92 - 2.11 | 0.02 1.21 0.89 - 2.26 | 0.03 1.22 0.87 - 1.81 | 0.03 1.32 0.93 - 1.86 | 0.04 1.39 0.93 - 1.77 | 0.05 1.27 0.91 - 2.92 | 0.06 1.30 0.91 - 1.96 |
HASH8 |
0.02 2.74 1.45 - 6.11 | 0.02 3.32 2.18 - 4.74 | 0.02 20.07 13.01 - 25.31 | 0.02 2.97 2.13 - 6.15 | 0.02 1.72 1.27 - 3.38 | 0.02 1.34 1.02 - 2.00 | 0.02 1.25 0.89 - 2.01 | 0.02 1.24 0.85 - 1.84 | 0.02 1.43 1.05 - 1.94 | 0.02 1.45 1.08 - 2.22 | 0.03 1.39 1.07 - 2.03 | 0.04 1.41 1.06 - 2.12 |
SO |
0.02 2.98 1.21 - 6.12 | 0.02 3.07 1.85 - 6.08 | 0.02 2.97 1.70 - 4.14 | 0.02 2.94 1.85 - 5.59 | 0.02 2.56 1.77 - 5.38 | 0.02 2.14 1.62 - 4.25 | 0.02 2.41 1.64 - 4.95 | 0.02 2.46 1.63 - 5.08 | 0.02 2.32 1.62 - 4.40 | 0.02 2.27 1.62 - 3.80 | 0.02 2.45 1.63 - 6.70 | 0.02 2.50 1.65 - 4.42 |
SBNDM |
0.03 3.60 1.81 - 8.12 | 0.04 1.96 1.34 - 3.86 | 0.04 1.43 0.99 - 3.21 | 0.04 1.20 0.84 - 1.89 | 0.04 1.09 0.79 - 1.82 | 0.03 1.19 0.83 - 1.74 | 0.03 1.34 0.84 - 1.81 | 0.03 1.25 0.81 - 1.95 | 0.03 1.16 0.81 - 1.76 | 0.03 1.34 0.84 - 1.73 | 0.03 1.26 0.80 - 2.23 | 0.03 1.24 0.83 - 1.72 |
LBNDM |
0.02 2.14 1.00 - 4.59 | 0.02 2.03 1.20 - 2.67 | 0.02 1.47 1.00 - 2.96 | 0.02 1.26 0.87 - 2.11 | 0.02 1.27 0.80 - 1.91 | 0.02 1.28 0.81 - 1.64 | 0.02 1.19 0.81 - 2.04 | 0.02 1.12 0.72 - 1.45 | 0.02 1.02 0.68 - 1.90 | 0.02 1.04 0.67 - 1.85 | 0.02 1.01 0.68 - 1.51 | 0.03 1.01 0.65 - 1.61 |
SBNDM2 |
0.02 2.31 1.19 - 5.99 | 0.02 1.62 1.09 - 3.07 | 0.02 1.34 0.86 - 4.28 | 0.02 1.16 0.82 - 1.68 | 0.02 1.08 0.76 - 1.87 | 0.02 1.06 0.76 - 3.80 | 0.02 1.08 0.75 - 1.75 | 0.02 1.08 0.76 - 1.75 | 0.02 1.15 0.75 - 1.93 | 0.02 1.11 0.75 - 1.89 | 0.02 1.09 0.75 - 1.76 | 0.02 1.14 0.76 - 1.71 |
SBNDM-BMH |
0.03 3.21 1.52 - 4.83 | 0.03 2.35 1.53 - 3.27 | 0.03 1.80 1.16 - 2.47 | 0.04 1.57 1.02 - 2.50 | 0.03 1.31 0.94 - 2.09 | 0.03 1.23 0.93 - 2.24 | 0.03 1.29 0.90 - 1.90 | 0.03 1.37 0.94 - 2.06 | 0.03 1.31 0.91 - 2.24 | 0.03 1.19 0.92 - 2.34 | 0.03 1.34 0.92 - 2.30 | 0.03 1.34 0.90 - 1.77 |
FNDM |
0.02 2.26 1.03 - 4.11 | 0.02 1.95 1.14 - 2.81 | 0.02 1.45 0.97 - 2.13 | 0.02 1.25 0.87 - 2.10 | 0.02 1.26 0.87 - 2.36 | 0.02 1.22 0.81 - 2.12 | 0.02 1.26 0.81 - 1.84 | 0.02 1.29 0.82 - 1.77 | 0.02 1.26 0.81 - 1.84 | 0.02 1.12 0.83 - 1.75 | 0.02 1.26 0.83 - 1.80 | 0.02 1.30 0.82 - 1.73 |
FSBNDM |
0.02 1.68 0.85 - 2.81 | 0.02 1.43 1.04 - 2.26 | 0.02 1.25 0.85 - 2.00 | 0.02 1.16 0.80 - 1.77 | 0.02 1.03 0.76 - 1.88 | 0.02 1.12 0.76 - 1.65 | 0.02 1.12 0.76 - 1.61 | 0.02 1.02 0.75 - 1.56 | 0.02 1.10 0.76 - 1.52 | 0.02 1.14 0.76 - 1.48 | 0.02 1.13 0.76 - 1.53 | 0.02 1.12 0.75 - 1.84 |
SBNDMQ8 |
0.02 3.05 1.45 - 5.45 | 0.02 3.20 2.12 - 6.44 | 0.02 7.09 4.46 - 14.31 | 0.02 1.77 1.18 - 3.19 | 0.02 1.21 0.88 - 2.10 | 0.02 1.37 0.89 - 1.83 | 0.02 1.29 0.90 - 1.90 | 0.02 1.23 0.90 - 2.38 | 0.02 1.26 0.89 - 2.08 | 0.02 1.28 0.89 - 1.91 | 0.02 1.33 0.88 - 1.92 | 0.02 1.31 0.88 - 2.05 |
UFNDMQ2 |
0.02 1.87 0.99 - 3.68 | 0.03 1.81 1.13 - 8.60 | 0.03 1.31 0.89 - 2.18 | 0.03 1.17 0.83 - 1.99 | 0.02 1.10 0.76 - 1.92 | 0.02 1.15 0.78 - 1.81 | 0.02 1.15 0.76 - 1.79 | 0.02 1.16 0.76 - 1.58 | 0.02 1.15 0.77 - 3.32 | 0.02 1.12 0.77 - 1.95 | 0.01 1.06 0.76 - 1.68 | 0.02 1.08 0.77 - 1.62 |
UFNDMQ8 |
0.02 2.56 1.43 - 4.44 | 0.02 2.97 2.18 - 5.30 | 0.03 1.84 1.24 - 3.63 | 0.03 1.33 1.00 - 2.92 | 0.02 1.40 0.92 - 2.78 | 0.02 1.34 0.89 - 2.65 | 0.02 1.44 0.90 - 1.93 | 0.02 1.30 0.90 - 2.45 | 0.02 1.32 0.91 - 2.63 | 0.02 1.35 0.90 - 2.20 | 0.02 1.36 0.90 - 2.35 | 0.01 1.27 0.92 - 1.92 |
KBNDM |
0.02 4.57 2.01 - 7.89 | 0.02 2.84 1.84 - 3.99 | 0.02 1.80 1.27 - 4.41 | 0.02 1.36 1.00 - 6.09 | 0.02 1.25 0.92 - 2.16 | 0.02 1.31 0.90 - 1.72 | 0.02 1.17 0.82 - 1.89 | 0.03 1.17 0.77 - 1.56 | 0.03 1.17 0.75 - 1.90 | 0.02 1.07 0.75 - 1.85 | 0.03 1.20 0.76 - 1.79 | 0.03 1.16 0.72 - 1.78 |
FS-W2 |
0.06 2.75 1.36 - 4.26 | 0.06 1.99 1.38 - 3.60 | 0.06 1.56 1.06 - 3.84 | 0.06 1.24 0.91 - 2.17 | 0.07 1.23 0.86 - 2.11 | 0.07 1.20 0.83 - 1.80 | 0.07 1.19 0.81 - 2.08 | 0.07 1.14 0.79 - 2.00 | 0.08 1.22 0.82 - 1.75 | 0.09 1.28 0.85 - 1.96 | 0.11 1.31 0.89 - 1.80 | 0.13 1.21 0.88 - 1.86 |
LWFR5 |
0.02 2.45 1.43 - 5.21 | 0.02 3.40 2.13 - 8.86 | 0.10 4.43 2.69 - 9.95 | 0.10 1.47 0.95 - 2.56 | 0.11 1.32 0.88 - 4.00 | 0.10 1.14 0.81 - 2.03 | 0.11 1.23 0.79 - 3.42 | 0.12 1.24 0.77 - 1.71 | 0.12 1.09 0.71 - 1.73 | 0.15 1.15 0.70 - 1.64 | 0.18 1.09 0.72 - 1.80 | 0.23 1.08 0.76 - 2.06 |
QF43 |
0.02 2.85 1.44 - 31.99 | 0.02 3.03 2.17 - 5.39 | 0.03 1.56 1.12 - 2.56 | 0.03 1.20 0.86 - 2.44 | 0.03 1.15 0.80 - 1.86 | 0.03 1.04 0.77 - 1.92 | 0.03 1.16 0.77 - 1.69 | 0.04 1.17 0.70 - 5.38 | 0.04 1.02 0.66 - 1.35 | 0.03 0.91 0.63 - 1.41 | 0.04 0.94 0.63 - 1.50 | 0.04 0.95 0.62 - 1.57 |
SBNDM-W2 |
0.02 2.16 1.51 - 3.42 | 0.02 1.72 1.13 - 2.80 | 0.02 1.37 0.94 - 2.05 | 0.02 1.19 0.85 - 2.22 | 0.02 1.16 0.82 - 2.21 | 0.02 1.24 0.82 - 2.07 | 0.02 1.09 0.82 - 1.98 | 0.02 1.23 0.79 - 1.92 | 0.02 1.18 0.81 - 1.78 | 0.02 1.16 0.81 - 1.80 | 0.02 1.10 0.81 - 2.38 | 0.02 1.11 0.81 - 1.73 |
WFR2 |
0.09 3.47 2.09 - 7.36 | 0.09 1.90 1.27 - 3.75 | 0.10 1.59 0.99 - 2.58 | 0.10 1.33 0.85 - 4.71 | 0.09 1.14 0.81 - 2.16 | 0.10 1.18 0.82 - 2.15 | 0.10 1.16 0.80 - 2.19 | 0.11 1.20 0.76 - 2.04 | 0.12 1.17 0.72 - 1.80 | 0.13 1.12 0.68 - 1.88 | 0.15 1.01 0.71 - 2.23 | 0.23 1.16 0.73 - 2.03 |
TWFRQ2 |
0.10 2.82 1.78 - 4.48 | 0.09 1.73 1.13 - 2.78 | 0.10 1.47 0.94 - 2.33 | 0.09 1.21 0.85 - 1.86 | 0.10 1.23 0.79 - 1.99 | 0.10 1.12 0.79 - 3.81 | 0.10 1.19 0.79 - 1.78 | 0.11 1.24 0.79 - 1.74 | 0.10 1.08 0.72 - 1.66 | 0.11 1.09 0.69 - 1.68 | 0.10 0.92 0.68 - 1.95 | 0.14 1.03 0.70 - 2.24 |
TWFRQ4 |
0.02 3.15 2.10 - 4.62 | 0.09 3.48 2.37 - 5.48 | 0.09 1.56 1.10 - 2.96 | 0.09 1.22 0.89 - 2.61 | 0.10 1.24 0.84 - 2.10 | 0.10 1.16 0.80 - 2.38 | 0.10 1.22 0.80 - 2.00 | 0.10 1.11 0.76 - 1.71 | 0.11 1.16 0.70 - 4.10 | 0.10 1.01 0.68 - 1.53 | 0.11 0.99 0.67 - 1.70 | 0.14 1.08 0.67 - 1.69 |
WOM |
0.03 4.40 2.82 - 7.60 | 0.03 2.99 2.03 - 4.96 | 0.03 2.25 1.47 - 3.14 | 0.03 1.66 1.13 - 2.77 | 0.03 1.24 0.96 - 2.21 | 0.03 1.30 0.90 - 2.16 | 0.03 1.20 0.86 - 1.92 | 0.03 1.15 0.84 - 1.74 | 0.03 1.16 0.84 - 1.92 | 0.03 1.19 0.89 - 1.73 | 0.04 1.26 0.89 - 1.99 | 0.06 1.25 0.91 - 2.12 |
LIBC1 |
0.02 2.59 1.58 - 5.13 | 0.01 1.77 1.25 - 2.54 | 0.01 1.38 0.95 - 2.72 | 0.02 1.31 0.82 - 4.51 | 0.01 1.10 0.80 - 1.77 | 0.02 1.14 0.78 - 1.93 | 0.02 1.14 0.81 - 2.15 | 0.02 1.23 0.82 - 1.73 | 0.02 1.22 0.87 - 1.66 | 0.02 1.31 0.90 - 2.00 | 0.02 1.31 0.90 - 1.98 | 0.02 1.31 0.92 - 2.04 |
MUSL1 |
0.00 0.05 0.01 - 0.28 | 0.00 1.17 0.01 - 3.02 | 0.00 0.74 0.01 - 1.94 | 0.00 0.68 0.01 - 1.58 | 0.00 0.62 0.01 - 1.83 | 0.01 0.60 0.01 - 1.84 | 0.01 0.58 0.01 - 2.03 | 0.01 0.62 0.01 - 1.53 | 0.01 0.64 0.02 - 1.54 | 0.01 0.59 0.02 - 1.76 | 0.02 0.62 0.04 - 1.78 | 0.04 0.75 0.07 - 1.63 |
SIMDKR |
0.02 1.07 0.77 - 3.61 | 0.02 1.20 0.78 - 1.83 | 0.02 1.08 0.77 - 2.50 | 0.02 1.10 0.80 - 1.81 | 0.02 1.10 0.77 - 1.73 | 0.02 1.11 0.77 - 1.91 | 0.02 1.10 0.77 - 2.00 | 0.02 1.16 0.79 - 1.78 | 0.02 1.15 0.77 - 2.36 | 0.02 1.16 0.80 - 1.79 | 0.02 1.09 0.76 - 1.68 | 0.02 1.15 0.76 - 1.94 |
EPSM |
0.01 1.20 0.79 - 1.77 | 0.02 1.21 0.84 - 2.30 | 0.03 1.25 0.93 - 2.55 | 0.03 1.35 1.04 - 2.30 | 0.03 1.18 0.85 - 2.06 | 0.03 1.15 0.81 - 1.80 | 0.04 1.17 0.79 - 1.96 | 0.06 1.25 0.77 - 1.94 | 0.08 1.17 0.78 - 1.84 | 0.11 1.15 0.76 - 1.68 | 0.22 1.26 0.82 - 1.91 | 0.44 1.57 1.01 - 2.46 |
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.