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:52:25
Text rand64 (alphabet : 64 - size : 1048576 bytes)
| 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 |
|
TVSBS |
0.30 4.98 2.25 - 7.42 | 0.29 3.58 1.73 - 5.77 | 0.27 2.48 1.26 - 4.01 | 0.32 2.26 1.48 - 3.47 | 0.31 1.83 1.27 - 2.82 | 0.32 1.63 1.15 - 2.69 | 0.31 1.64 1.10 - 2.79 | 0.27 1.52 1.12 - 2.63 | 0.32 1.73 1.28 - 2.34 | 0.24 1.06 0.63 - 1.95 | 0.25 1.04 0.59 - 1.84 | 0.21 0.83 0.57 - 3.29 |
FJS |
0.01 3.11 1.95 - 6.16 | 0.02 2.38 1.37 - 4.40 | 0.02 2.31 1.00 - 3.21 | 0.02 1.70 1.19 - 2.73 | 0.02 1.40 1.04 - 2.41 | 0.02 1.32 0.95 - 2.14 | 0.02 1.12 0.91 - 2.31 | 0.03 1.21 0.90 - 2.08 | 0.03 1.28 0.88 - 2.00 | 0.03 1.05 0.54 - 1.72 | 0.04 1.00 0.55 - 1.79 | 0.04 0.85 0.56 - 1.95 |
HASH8 |
0.02 2.55 1.45 - 4.47 | 0.01 2.05 1.45 - 4.23 | 0.02 18.86 8.91 - 26.64 | 0.02 2.88 2.12 - 5.63 | 0.02 1.85 1.28 - 2.72 | 0.02 1.45 1.02 - 2.16 | 0.02 1.16 0.88 - 1.93 | 0.02 1.14 0.85 - 1.72 | 0.02 1.44 1.06 - 2.09 | 0.02 1.27 0.63 - 1.81 | 0.03 1.21 0.63 - 1.94 | 0.02 0.88 0.62 - 2.16 |
SO |
0.02 2.60 1.20 - 4.51 | 0.01 1.96 1.20 - 12.09 | 0.02 2.02 1.19 - 4.28 | 0.02 2.62 1.83 - 4.94 | 0.02 2.86 1.75 - 6.85 | 0.02 2.07 1.61 - 4.32 | 0.02 2.22 1.64 - 13.54 | 0.02 2.21 1.62 - 3.84 | 0.02 2.26 1.61 - 4.44 | 0.02 1.93 1.08 - 4.50 | 0.02 1.83 1.06 - 3.60 | 0.02 1.52 1.08 - 4.28 |
SBNDM |
0.03 3.47 1.78 - 8.30 | 0.03 1.71 0.90 - 2.95 | 0.03 1.34 0.64 - 2.10 | 0.04 1.24 0.80 - 2.05 | 0.03 1.04 0.77 - 1.95 | 0.03 1.42 0.95 - 1.90 | 0.03 1.30 0.96 - 2.53 | 0.03 1.42 0.98 - 2.41 | 0.04 1.36 0.95 - 3.90 | 0.03 1.21 0.61 - 2.05 | 0.03 1.18 0.63 - 2.04 | 0.02 0.80 0.62 - 3.36 |
LBNDM |
0.02 2.21 1.14 - 5.50 | 0.02 2.10 0.87 - 3.25 | 0.02 1.46 0.72 - 2.60 | 0.02 1.55 1.00 - 2.36 | 0.02 1.34 0.94 - 5.46 | 0.02 1.09 0.79 - 1.87 | 0.02 1.08 0.79 - 1.67 | 0.02 1.10 0.75 - 1.88 | 0.02 0.82 0.46 - 3.33 | 0.02 0.72 0.45 - 1.45 | 0.02 0.92 0.46 - 1.61 | 0.02 0.84 0.55 - 3.06 |
SBNDM2 |
0.02 2.34 1.19 - 5.64 | 0.02 1.43 0.73 - 2.59 | 0.02 1.17 0.57 - 1.75 | 0.02 1.16 0.81 - 1.90 | 0.02 1.01 0.76 - 1.58 | 0.02 1.07 0.75 - 1.73 | 0.02 1.09 0.76 - 1.77 | 0.02 1.10 0.76 - 1.85 | 0.02 0.79 0.47 - 1.64 | 0.02 0.92 0.46 - 1.96 | 0.02 0.99 0.47 - 1.70 | 0.02 0.69 0.45 - 1.92 |
SBNDM-BMH |
0.03 3.10 1.61 - 5.38 | 0.03 2.46 1.05 - 3.54 | 0.02 1.46 0.80 - 2.54 | 0.03 1.66 1.06 - 2.36 | 0.03 1.30 0.97 - 2.02 | 0.03 1.26 0.97 - 2.05 | 0.03 1.29 0.95 - 2.46 | 0.03 1.36 0.97 - 2.27 | 0.03 1.06 0.61 - 2.17 | 0.03 1.15 0.60 - 2.00 | 0.03 1.14 0.60 - 2.13 | 0.03 1.13 0.61 - 2.20 |
FNDM |
0.02 2.02 1.14 - 12.03 | 0.02 1.67 0.85 - 3.18 | 0.02 1.67 0.74 - 2.80 | 0.02 1.59 0.95 - 2.13 | 0.02 1.29 0.96 - 2.12 | 0.02 1.34 0.93 - 2.84 | 0.02 1.30 0.94 - 2.03 | 0.02 1.32 0.94 - 2.17 | 0.02 0.98 0.60 - 2.28 | 0.02 1.06 0.60 - 1.97 | 0.02 1.30 0.59 - 2.10 | 0.02 1.04 0.59 - 1.92 |
FSBNDM |
0.02 1.84 0.90 - 3.32 | 0.02 1.26 0.68 - 10.97 | 0.01 0.97 0.55 - 1.76 | 0.02 1.23 0.84 - 2.24 | 0.02 1.11 0.74 - 1.69 | 0.02 1.11 0.76 - 1.89 | 0.02 1.03 0.76 - 1.98 | 0.02 1.11 0.77 - 1.89 | 0.02 0.81 0.47 - 1.41 | 0.02 0.99 0.47 - 1.75 | 0.02 0.93 0.46 - 1.70 | 0.01 0.64 0.48 - 1.78 |
SBNDMQ8 |
0.01 2.26 1.45 - 5.92 | 0.01 2.16 1.45 - 4.34 | 0.01 4.79 3.04 - 11.33 | 0.02 1.81 1.16 - 3.02 | 0.02 1.26 0.88 - 2.24 | 0.02 1.34 0.89 - 2.39 | 0.02 1.25 0.89 - 1.88 | 0.02 1.38 0.88 - 4.92 | 0.02 1.09 0.55 - 1.95 | 0.02 1.06 0.55 - 1.88 | 0.02 1.13 0.56 - 1.85 | 0.02 0.91 0.55 - 2.24 |
UFNDMQ2 |
0.02 1.65 0.99 - 3.13 | 0.02 1.40 0.72 - 2.52 | 0.02 1.02 0.56 - 2.29 | 0.03 1.24 0.84 - 2.22 | 0.01 1.02 0.75 - 1.61 | 0.02 1.13 0.77 - 1.88 | 0.01 1.06 0.76 - 1.90 | 0.02 1.15 0.77 - 1.69 | 0.01 0.89 0.47 - 1.83 | 0.01 0.98 0.47 - 1.69 | 0.01 0.96 0.50 - 1.69 | 0.01 0.85 0.47 - 2.11 |
UFNDMQ8 |
0.02 3.00 1.45 - 4.36 | 0.02 2.74 1.43 - 5.56 | 0.03 2.03 0.81 - 10.15 | 0.03 1.53 1.00 - 2.55 | 0.01 1.29 0.89 - 2.35 | 0.02 1.34 0.91 - 1.93 | 0.02 1.31 0.91 - 3.30 | 0.01 1.28 0.91 - 2.80 | 0.01 0.82 0.56 - 2.21 | 0.01 1.13 0.55 - 2.07 | 0.01 1.15 0.56 - 1.79 | 0.01 1.00 0.56 - 2.25 |
KBNDM |
0.02 3.99 2.05 - 7.75 | 0.02 2.64 1.25 - 4.34 | 0.02 1.82 1.29 - 3.84 | 0.02 1.57 1.04 - 2.72 | 0.02 1.31 0.91 - 2.10 | 0.02 1.23 0.90 - 1.72 | 0.02 1.13 0.85 - 2.19 | 0.03 1.11 0.78 - 1.82 | 0.02 0.83 0.48 - 1.77 | 0.02 1.08 0.50 - 1.64 | 0.02 0.89 0.49 - 1.50 | 0.02 0.84 0.48 - 1.66 |
FS-W2 |
0.05 2.79 1.40 - 4.47 | 0.05 1.69 0.95 - 2.90 | 0.06 1.57 1.09 - 2.31 | 0.07 1.45 0.95 - 2.44 | 0.06 1.16 0.87 - 1.94 | 0.06 1.17 0.85 - 1.68 | 0.06 1.12 0.82 - 1.95 | 0.07 1.16 0.80 - 1.84 | 0.07 1.01 0.51 - 1.56 | 0.07 0.92 0.51 - 1.86 | 0.10 1.13 0.52 - 1.69 | 0.10 0.83 0.54 - 1.76 |
LWFR5 |
0.02 2.57 1.45 - 4.45 | 0.02 2.35 1.44 - 5.56 | 0.09 4.29 2.57 - 10.29 | 0.11 1.53 0.96 - 2.14 | 0.09 1.13 0.87 - 2.37 | 0.10 1.17 0.83 - 1.85 | 0.10 1.10 0.79 - 3.13 | 0.11 1.19 0.77 - 2.07 | 0.11 1.01 0.47 - 1.65 | 0.11 0.80 0.46 - 2.08 | 0.15 0.93 0.48 - 1.63 | 0.17 0.80 0.50 - 1.89 |
QF43 |
0.02 2.90 1.44 - 4.37 | 0.02 2.46 1.44 - 6.07 | 0.03 1.82 1.12 - 5.20 | 0.03 1.34 0.92 - 1.88 | 0.03 1.19 0.81 - 2.00 | 0.03 1.09 0.76 - 1.93 | 0.03 1.05 0.74 - 5.97 | 0.03 1.01 0.70 - 1.65 | 0.03 0.82 0.42 - 1.50 | 0.03 0.83 0.42 - 1.64 | 0.03 0.74 0.41 - 1.57 | 0.03 0.70 0.41 - 1.36 |
SBNDM-W2 |
0.02 2.24 1.05 - 4.56 | 0.02 1.32 0.79 - 2.73 | 0.02 1.59 1.01 - 11.05 | 0.02 1.47 0.95 - 1.91 | 0.02 1.17 0.80 - 1.69 | 0.02 1.06 0.79 - 1.89 | 0.05 1.40 0.83 - 17.74 | 0.02 1.18 0.80 - 1.82 | 0.02 1.03 0.51 - 1.86 | 0.02 0.90 0.51 - 1.91 | 0.01 0.72 0.51 - 2.07 | 0.02 1.03 0.51 - 2.13 |
WFR2 |
0.07 2.80 1.46 - 5.15 | 0.08 1.70 0.83 - 3.75 | 0.11 1.68 1.02 - 2.43 | 0.10 1.40 0.86 - 1.85 | 0.10 1.24 0.82 - 1.72 | 0.09 1.09 0.80 - 1.93 | 0.09 1.16 0.81 - 2.41 | 0.11 1.28 0.81 - 1.78 | 0.08 0.83 0.47 - 1.83 | 0.10 0.87 0.46 - 2.00 | 0.12 0.78 0.47 - 1.59 | 0.14 0.74 0.48 - 2.02 |
TWFRQ2 |
0.07 2.25 1.19 - 6.51 | 0.07 1.20 0.73 - 2.81 | 0.09 1.36 0.95 - 2.30 | 0.10 1.27 0.90 - 1.91 | 0.09 1.17 0.82 - 1.80 | 0.09 1.12 0.78 - 1.64 | 0.11 1.26 0.80 - 7.83 | 0.10 1.22 0.79 - 1.88 | 0.08 0.87 0.47 - 1.71 | 0.08 0.72 0.45 - 1.93 | 0.09 0.77 0.45 - 1.59 | 0.11 0.82 0.45 - 1.93 |
TWFRQ4 |
0.02 3.03 1.46 - 4.60 | 0.08 3.06 1.58 - 6.27 | 0.09 1.54 1.09 - 2.74 | 0.10 1.38 0.90 - 2.78 | 0.09 1.09 0.84 - 1.77 | 0.09 1.13 0.80 - 1.79 | 0.14 1.32 0.78 - 11.07 | 0.10 1.10 0.75 - 1.89 | 0.09 0.90 0.45 - 1.46 | 0.09 0.86 0.45 - 1.76 | 0.08 0.74 0.44 - 1.63 | 0.09 0.71 0.46 - 2.00 |
WOM |
0.02 3.85 1.94 - 6.53 | 0.02 2.34 1.38 - 4.38 | 0.03 2.23 1.51 - 3.55 | 0.03 1.78 1.18 - 2.79 | 0.03 1.35 1.02 - 2.22 | 0.03 1.24 0.92 - 1.98 | 0.03 1.21 0.88 - 2.47 | 0.03 1.12 0.84 - 2.04 | 0.03 0.98 0.53 - 2.14 | 0.03 0.98 0.53 - 1.85 | 0.03 0.82 0.52 - 1.85 | 0.05 1.04 0.54 - 1.68 |
LIBC1 |
0.01 1.71 1.05 - 4.13 | 0.01 1.40 0.81 - 2.79 | 0.01 1.28 0.96 - 2.37 | 0.01 1.10 0.81 - 5.37 | 0.02 1.19 0.79 - 1.91 | 0.01 1.10 0.78 - 4.79 | 0.01 1.12 0.79 - 3.44 | 0.01 1.19 0.85 - 2.35 | 0.01 1.02 0.52 - 1.63 | 0.01 1.11 0.52 - 1.73 | 0.01 0.81 0.53 - 1.84 | 0.01 0.86 0.52 - 1.64 |
MUSL1 |
0.00 0.02 0.01 - 0.15 | 0.00 0.98 0.01 - 2.71 | 0.00 0.97 0.01 - 2.46 | 0.00 0.73 0.01 - 1.97 | 0.00 0.80 0.01 - 2.36 | 0.01 0.73 0.02 - 2.03 | 0.01 0.66 0.02 - 1.57 | 0.01 0.64 0.01 - 1.60 | 0.01 0.46 0.01 - 1.39 | 0.01 0.51 0.01 - 1.60 | 0.01 0.35 0.02 - 1.25 | 0.04 0.60 0.04 - 1.65 |
SIMDKR |
0.02 0.85 0.47 - 1.59 | 0.02 0.98 0.48 - 1.57 | 0.02 1.21 0.79 - 1.62 | 0.02 1.06 0.77 - 1.72 | 0.02 1.15 0.76 - 2.40 | 0.02 1.06 0.76 - 2.07 | 0.02 1.17 0.77 - 5.41 | 0.02 1.19 0.82 - 1.78 | 0.02 1.05 0.47 - 1.80 | 0.02 0.99 0.48 - 1.57 | 0.01 0.76 0.47 - 1.75 | 0.02 0.95 0.48 - 1.69 |
EPSM |
0.01 1.19 0.50 - 1.82 | 0.02 1.23 0.53 - 7.44 | 0.03 1.37 0.91 - 2.01 | 0.03 1.42 1.03 - 2.26 | 0.03 1.26 0.85 - 2.17 | 0.03 1.04 0.79 - 1.76 | 0.04 1.12 0.79 - 1.68 | 0.05 1.11 0.79 - 1.70 | 0.06 0.91 0.48 - 1.79 | 0.10 0.96 0.49 - 1.77 | 0.13 0.75 0.55 - 2.05 | 0.35 1.24 0.64 - 2.59 |
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.