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:39:19
Text rand32 (alphabet : 32 - size : 1048576 bytes)
| 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 |
|
TVSBS |
0.28 4.42 2.13 - 7.88 | 0.24 2.84 1.61 - 5.62 | 0.26 2.30 1.22 - 3.93 | 0.24 1.62 0.95 - 3.56 | 0.22 1.27 0.79 - 2.61 | 0.24 1.19 0.71 - 2.35 | 0.23 1.15 0.67 - 2.27 | 0.21 1.02 0.65 - 2.25 | 0.30 1.52 0.77 - 2.28 | 0.22 1.03 0.68 - 3.13 | 0.21 0.93 0.65 - 2.16 | 0.22 0.97 0.62 - 2.17 |
FJS |
0.02 4.20 2.09 - 6.38 | 0.02 2.38 1.50 - 4.79 | 0.02 1.77 1.07 - 4.22 | 0.02 1.34 0.82 - 2.84 | 0.02 1.17 0.69 - 4.04 | 0.02 1.05 0.62 - 1.96 | 0.02 1.15 0.60 - 2.00 | 0.02 1.18 0.59 - 2.03 | 0.02 0.98 0.60 - 2.09 | 0.02 0.88 0.61 - 3.63 | 0.03 0.94 0.59 - 2.59 | 0.05 1.25 0.62 - 2.17 |
HASH8 |
0.02 3.07 1.46 - 6.21 | 0.01 2.26 1.46 - 5.71 | 0.02 17.49 8.91 - 28.32 | 0.01 2.32 1.41 - 4.43 | 0.01 1.36 0.83 - 2.57 | 0.01 0.88 0.63 - 2.12 | 0.02 0.91 0.55 - 1.82 | 0.01 0.80 0.52 - 1.78 | 0.02 0.90 0.61 - 1.69 | 0.02 0.90 0.65 - 3.84 | 0.02 0.88 0.62 - 1.76 | 0.03 1.06 0.63 - 2.06 |
SO |
0.02 2.24 1.18 - 5.65 | 0.02 2.04 1.20 - 5.37 | 0.02 2.13 1.22 - 4.58 | 0.02 2.05 1.19 - 5.99 | 0.02 2.00 1.20 - 5.13 | 0.01 1.66 1.07 - 3.61 | 0.02 2.00 1.08 - 4.54 | 0.01 1.46 1.08 - 5.20 | 0.02 1.74 1.08 - 4.33 | 0.02 1.67 1.08 - 4.53 | 0.01 1.65 1.07 - 3.38 | 0.02 2.19 1.10 - 3.26 |
SBNDM |
0.03 3.47 1.79 - 6.54 | 0.03 1.63 0.92 - 3.05 | 0.03 1.31 0.66 - 2.49 | 0.03 0.90 0.52 - 1.79 | 0.03 0.83 0.48 - 1.65 | 0.02 0.79 0.59 - 1.93 | 0.03 1.13 0.58 - 2.06 | 0.02 0.86 0.60 - 2.21 | 0.02 0.99 0.57 - 1.90 | 0.02 0.82 0.60 - 3.06 | 0.02 0.92 0.58 - 2.08 | 0.03 1.17 0.59 - 1.83 |
LBNDM |
0.02 2.69 1.12 - 4.35 | 0.02 1.90 0.94 - 4.20 | 0.02 1.92 0.87 - 3.96 | 0.01 1.23 0.76 - 2.64 | 0.02 1.08 0.57 - 1.93 | 0.01 0.80 0.48 - 1.74 | 0.01 0.80 0.50 - 1.54 | 0.01 0.76 0.49 - 1.69 | 0.01 0.71 0.48 - 1.58 | 0.02 0.87 0.49 - 1.78 | 0.02 1.10 0.59 - 2.26 | 0.02 3.48 1.95 - 7.40 |
SBNDM2 |
0.01 1.97 1.21 - 3.98 | 0.02 1.33 0.71 - 2.94 | 0.02 0.94 0.55 - 1.85 | 0.02 0.84 0.49 - 1.77 | 0.02 0.92 0.47 - 1.74 | 0.02 0.82 0.47 - 1.61 | 0.01 0.71 0.46 - 1.58 | 0.02 0.81 0.47 - 1.59 | 0.01 0.64 0.46 - 1.59 | 0.02 1.04 0.47 - 1.69 | 0.02 0.92 0.46 - 1.85 | 0.02 0.94 0.47 - 1.44 |
SBNDM-BMH |
0.03 3.36 1.67 - 5.35 | 0.02 1.85 1.14 - 4.31 | 0.02 1.33 0.88 - 4.36 | 0.02 1.25 0.76 - 2.44 | 0.03 1.39 0.60 - 2.02 | 0.03 1.09 0.58 - 2.01 | 0.02 1.02 0.58 - 2.42 | 0.02 0.87 0.59 - 1.93 | 0.02 1.08 0.58 - 1.87 | 0.02 0.92 0.57 - 2.10 | 0.02 1.02 0.62 - 2.17 | 0.03 1.24 0.59 - 2.01 |
FNDM |
0.01 2.18 1.23 - 5.18 | 0.01 1.73 0.97 - 3.57 | 0.02 1.40 0.78 - 3.16 | 0.02 1.33 0.75 - 2.53 | 0.01 0.90 0.58 - 2.03 | 0.02 1.05 0.59 - 2.11 | 0.01 0.89 0.56 - 2.03 | 0.02 1.18 0.58 - 1.93 | 0.02 0.91 0.57 - 5.51 | 0.02 0.96 0.58 - 2.58 | 0.02 1.22 0.56 - 1.90 | 0.02 1.34 0.59 - 1.96 |
FSBNDM |
0.01 1.72 1.02 - 3.75 | 0.02 1.34 0.73 - 5.11 | 0.02 1.04 0.57 - 1.84 | 0.02 1.00 0.50 - 1.75 | 0.02 1.00 0.47 - 1.64 | 0.01 0.74 0.47 - 1.91 | 0.02 0.94 0.47 - 1.64 | 0.02 0.68 0.47 - 2.75 | 0.02 0.91 0.47 - 1.50 | 0.01 0.77 0.47 - 1.74 | 0.02 0.97 0.47 - 1.49 | 0.02 0.87 0.47 - 2.02 |
SBNDMQ8 |
0.01 1.94 1.43 - 5.69 | 0.02 2.57 1.45 - 5.71 | 0.02 5.63 3.02 - 12.73 | 0.02 1.47 0.75 - 3.19 | 0.02 1.10 0.55 - 2.17 | 0.01 0.75 0.55 - 2.05 | 0.01 0.77 0.54 - 2.16 | 0.01 0.75 0.54 - 2.10 | 0.02 0.95 0.55 - 2.07 | 0.02 0.98 0.54 - 2.06 | 0.02 1.11 0.55 - 4.40 | 0.02 1.17 0.55 - 1.85 |
UFNDMQ2 |
0.02 1.70 0.99 - 4.24 | 0.02 1.13 0.73 - 2.65 | 0.02 1.06 0.58 - 1.93 | 0.02 0.86 0.51 - 2.05 | 0.01 0.95 0.47 - 1.78 | 0.01 0.91 0.48 - 1.67 | 0.01 0.65 0.48 - 1.63 | 0.01 0.65 0.47 - 1.67 | 0.01 0.70 0.47 - 1.66 | 0.01 0.76 0.48 - 1.76 | 0.01 0.88 0.47 - 1.50 | 0.01 0.87 0.48 - 1.75 |
UFNDMQ8 |
0.01 2.00 1.44 - 5.09 | 0.02 2.35 1.44 - 5.35 | 0.02 1.48 0.80 - 3.24 | 0.02 1.01 0.63 - 2.42 | 0.01 1.04 0.57 - 2.42 | 0.01 0.87 0.55 - 2.24 | 0.01 1.01 0.56 - 1.96 | 0.03 0.91 0.56 - 8.22 | 0.01 0.75 0.56 - 2.57 | 0.01 1.03 0.56 - 2.13 | 0.01 0.93 0.56 - 2.39 | 0.01 0.98 0.56 - 2.04 |
KBNDM |
0.02 3.30 2.10 - 8.29 | 0.02 2.04 1.27 - 4.24 | 0.01 1.33 0.86 - 2.75 | 0.02 1.08 0.67 - 2.18 | 0.02 0.91 0.56 - 2.31 | 0.02 0.97 0.53 - 1.65 | 0.02 0.76 0.49 - 1.74 | 0.02 0.76 0.48 - 2.20 | 0.02 0.81 0.51 - 5.50 | 0.01 0.73 0.48 - 3.47 | 0.02 0.88 0.49 - 1.88 | 0.02 0.99 0.48 - 1.90 |
FS-W2 |
0.04 2.20 1.53 - 5.28 | 0.06 2.01 1.01 - 3.11 | 0.05 1.35 0.75 - 2.50 | 0.04 0.95 0.63 - 2.14 | 0.05 0.93 0.57 - 1.94 | 0.05 1.02 0.54 - 1.72 | 0.05 0.89 0.53 - 1.95 | 0.04 0.70 0.52 - 1.91 | 0.05 0.83 0.54 - 3.15 | 0.06 0.83 0.54 - 1.91 | 0.08 0.89 0.54 - 1.79 | 0.13 1.07 0.56 - 2.09 |
LWFR5 |
0.01 2.04 1.45 - 5.70 | 0.02 2.38 1.43 - 4.40 | 0.08 3.61 1.78 - 7.65 | 0.07 1.03 0.59 - 2.26 | 0.09 1.01 0.52 - 1.72 | 0.08 0.83 0.50 - 1.98 | 0.07 0.77 0.49 - 1.68 | 0.07 0.65 0.48 - 1.49 | 0.08 0.70 0.47 - 1.67 | 0.10 0.75 0.46 - 1.93 | 0.15 0.87 0.47 - 2.02 | 0.18 0.80 0.53 - 1.60 |
QF43 |
0.01 1.96 1.43 - 5.46 | 0.01 2.26 1.45 - 4.52 | 0.03 1.41 0.72 - 2.68 | 0.03 1.06 0.55 - 2.18 | 0.03 1.00 0.49 - 1.54 | 0.03 0.86 0.46 - 1.73 | 0.02 0.77 0.45 - 1.57 | 0.02 0.68 0.44 - 1.57 | 0.02 0.63 0.42 - 1.62 | 0.03 0.80 0.42 - 1.48 | 0.03 0.84 0.41 - 1.44 | 0.04 0.78 0.41 - 1.60 |
SBNDM-W2 |
0.01 1.75 1.17 - 5.18 | 0.02 1.86 0.84 - 3.15 | 0.01 1.19 0.75 - 2.49 | 0.01 0.95 0.61 - 2.17 | 0.02 0.98 0.49 - 2.03 | 0.02 0.84 0.50 - 1.81 | 0.02 0.97 0.51 - 1.69 | 0.01 0.70 0.50 - 2.16 | 0.01 0.68 0.50 - 1.96 | 0.01 0.74 0.50 - 1.60 | 0.02 1.13 0.49 - 1.94 | 0.02 1.16 0.50 - 1.92 |
WFR2 |
0.06 2.35 1.48 - 5.64 | 0.08 1.77 0.86 - 2.87 | 0.07 1.18 0.66 - 2.17 | 0.07 1.05 0.55 - 2.06 | 0.08 1.00 0.53 - 2.05 | 0.07 0.87 0.52 - 2.07 | 0.07 0.85 0.53 - 1.71 | 0.08 0.85 0.53 - 4.37 | 0.07 0.74 0.48 - 1.55 | 0.13 1.07 0.46 - 1.84 | 0.15 1.05 0.46 - 1.62 | 0.19 1.04 0.48 - 1.64 |
TWFRQ2 |
0.06 1.70 1.18 - 4.88 | 0.08 1.59 0.75 - 2.59 | 0.06 0.94 0.61 - 2.11 | 0.06 0.87 0.55 - 2.08 | 0.09 1.16 0.54 - 2.02 | 0.08 0.96 0.52 - 2.12 | 0.09 1.09 0.52 - 1.72 | 0.07 0.85 0.51 - 2.08 | 0.07 0.77 0.47 - 2.04 | 0.07 0.69 0.45 - 1.48 | 0.09 0.74 0.45 - 1.49 | 0.12 0.92 0.45 - 1.94 |
TWFRQ4 |
0.01 1.81 1.42 - 4.83 | 0.08 2.90 1.57 - 7.34 | 0.07 1.22 0.71 - 2.59 | 0.07 0.93 0.56 - 2.00 | 0.06 0.77 0.51 - 2.04 | 0.08 0.86 0.49 - 1.60 | 0.08 0.92 0.48 - 1.56 | 0.07 0.75 0.48 - 1.86 | 0.08 0.69 0.44 - 3.84 | 0.08 0.82 0.44 - 1.64 | 0.10 0.90 0.45 - 1.54 | 0.14 1.07 0.45 - 1.60 |
WOM |
0.02 3.04 2.05 - 7.75 | 0.03 2.86 1.42 - 5.25 | 0.02 1.69 1.03 - 3.35 | 0.03 1.62 0.79 - 2.58 | 0.02 0.87 0.68 - 2.37 | 0.02 0.96 0.61 - 1.82 | 0.02 0.83 0.57 - 1.77 | 0.02 0.90 0.57 - 2.02 | 0.03 0.91 0.57 - 3.82 | 0.03 1.06 0.56 - 1.96 | 0.04 1.10 0.57 - 1.72 | 0.03 0.82 0.57 - 1.69 |
LIBC1 |
0.01 1.44 1.06 - 3.55 | 0.01 1.28 0.78 - 3.29 | 0.01 0.95 0.60 - 1.98 | 0.01 0.87 0.55 - 1.94 | 0.01 0.73 0.50 - 2.25 | 0.01 0.75 0.49 - 1.74 | 0.01 0.85 0.50 - 1.65 | 0.01 0.79 0.50 - 1.71 | 0.01 0.93 0.56 - 1.73 | 0.01 0.91 0.56 - 2.29 | 0.02 1.35 0.57 - 1.85 | 0.01 0.85 0.58 - 1.85 |
MUSL1 |
0.00 0.01 0.00 - 0.06 | 0.00 0.74 0.01 - 2.91 | 0.00 0.99 0.02 - 2.75 | 0.00 0.83 0.02 - 2.81 | 0.00 0.57 0.01 - 2.99 | 0.00 0.50 0.01 - 1.63 | 0.01 0.63 0.01 - 1.95 | 0.01 0.55 0.02 - 1.60 | 0.01 0.42 0.01 - 1.76 | 0.01 0.40 0.02 - 1.72 | 0.02 0.66 0.03 - 1.79 | 0.03 0.55 0.04 - 1.71 |
SIMDKR |
0.01 0.62 0.49 - 1.65 | 0.02 0.96 0.49 - 1.72 | 0.01 0.69 0.50 - 1.74 | 0.01 0.72 0.48 - 1.54 | 0.02 0.81 0.49 - 2.02 | 0.02 0.86 0.49 - 1.60 | 0.01 0.75 0.49 - 1.94 | 0.02 0.87 0.50 - 2.19 | 0.02 0.74 0.49 - 2.58 | 0.01 0.71 0.49 - 1.76 | 0.02 0.93 0.48 - 1.77 | 0.02 1.02 0.50 - 1.54 |
EPSM |
0.01 0.78 0.49 - 1.84 | 0.02 0.96 0.52 - 2.14 | 0.02 1.09 0.58 - 2.13 | 0.03 1.24 0.67 - 2.38 | 0.03 1.00 0.53 - 1.99 | 0.03 0.91 0.49 - 1.75 | 0.02 0.65 0.47 - 1.56 | 0.04 0.85 0.48 - 1.61 | 0.07 0.77 0.50 - 4.09 | 0.08 0.79 0.49 - 1.91 | 0.20 1.13 0.56 - 1.77 | 0.42 1.45 0.65 - 2.10 |
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.