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 EXP1790259501

Date 2026-09-24 16:49:30

Text rand16 (alphabet : 16 - size : 1048576 bytes)

248163264128256512102420484096
TVSBS
0.01
1.18
1.15 - 1.48
0.01
0.83
0.77 - 1.46
0.01
0.62
0.59 - 0.84
0.01
0.45
0.42 - 0.62
0.01
0.33
0.30 - 0.64
0.01
0.28
0.26 - 0.52
0.01
0.25
0.24 - 0.36
0.01
0.24
0.22 - 0.36
0.01
0.24
0.21 - 0.48
0.01
0.24
0.21 - 0.52
0.01
0.25
0.23 - 0.45
0.00
 -
0.29 - 0.29
SBNDMQ2
0.00
0.66
0.62 - 1.02
0.00
0.36
0.33 - 0.65
0.00
0.30
0.28 - 0.44
0.00
0.26
0.24 - 0.34
0.00
0.24
0.20 - 0.61
0.00
0.23
0.21 - 0.55
0.00
0.24
0.22 - 0.34
0.00
0.23
0.21 - 0.44
0.00
0.23
0.20 - 0.53
0.00
0.23
0.20 - 0.57
0.00
0.24
0.22 - 0.37
0.00
0.23
0.21 - 0.43
BXS2
0.00
0.84
0.81 - 1.14
0.00
0.37
0.34 - 0.74
0.00
0.29
0.27 - 0.42
0.00
0.25
0.24 - 0.37
0.00
0.22
0.20 - 0.61
0.00
0.23
0.20 - 0.56
0.00
0.24
0.22 - 0.32
0.00
0.23
0.20 - 0.54
0.00
0.23
0.20 - 0.56
0.00
0.23
0.20 - 0.46
0.00
0.24
0.22 - 0.37
0.00
0.24
0.20 - 0.60
FS-W8
0.00
 -
999.00 - 2207.20
0.09
0.98
0.64 - 2.35
0.01
0.84
0.58 - 1.27
0.01
0.64
0.53 - 0.90
0.01
0.46
0.38 - 0.83
0.01
0.41
0.32 - 0.66
0.01
0.42
0.32 - 0.62
0.01
0.41
0.30 - 0.61
0.01
0.41
0.32 - 0.60
0.01
0.42
0.31 - 0.66
0.02
0.43
0.33 - 0.65
0.04
0.44
0.35 - 0.72
FSBNDM-W6
0.00
 -
999.00 - 2035.66
0.09
0.98
0.63 - 2.59
0.01
0.85
0.57 - 1.21
0.01
0.65
0.56 - 0.84
0.01
0.46
0.38 - 0.85
0.01
0.42
0.33 - 0.66
0.01
0.42
0.32 - 0.58
0.01
0.40
0.30 - 0.66
0.01
0.41
0.31 - 0.74
0.01
0.42
0.31 - 0.69
0.02
0.43
0.33 - 0.60
0.04
0.43
0.34 - 0.77
FSBNDMQ20
0.00
0.66
0.61 - 1.01
0.00
0.36
0.34 - 0.73
0.00
0.29
0.27 - 0.39
0.00
0.26
0.24 - 0.34
0.00
0.23
0.20 - 0.60
0.00
0.24
0.22 - 0.35
0.00
0.24
0.22 - 0.33
0.00
0.23
0.21 - 0.54
0.00
0.23
0.21 - 0.49
0.00
0.23
0.20 - 0.77
0.00
0.26
0.22 - 0.37
0.00
0.23
0.20 - 0.44
FSBNDMQ41
0.00
0.87
0.82 - 1.12
0.00
0.56
0.52 - 1.09
0.00
0.33
0.31 - 0.51
0.00
0.25
0.24 - 0.37
0.00
0.21
0.20 - 0.52
0.00
0.22
0.21 - 0.29
0.00
0.22
0.21 - 0.33
0.00
0.22
0.19 - 0.41
0.00
0.22
0.19 - 0.50
0.00
0.21
0.20 - 0.50
0.00
0.22
0.19 - 0.50
0.00
0.22
0.19 - 0.48
LWFR4
0.00
0.88
0.81 - 1.18
0.00
0.81
0.78 - 1.29
0.01
0.35
0.32 - 0.49
0.01
0.26
0.24 - 0.36
0.01
0.22
0.19 - 0.51
0.01
0.22
0.20 - 0.30
0.01
0.21
0.20 - 0.30
0.01
0.20
0.18 - 0.46
0.01
0.20
0.18 - 0.36
0.01
0.20
0.18 - 0.64
0.02
0.21
0.18 - 0.49
0.04
0.22
0.20 - 0.51
QF34
0.00
0.88
0.83 - 1.22
0.00
0.50
0.47 - 0.71
0.00
0.34
0.29 - 0.46
0.00
0.27
0.23 - 0.36
0.00
0.21
0.19 - 0.62
0.00
0.21
0.20 - 0.31
0.00
0.21
0.19 - 0.31
0.00
0.20
0.17 - 0.46
0.00
0.19
0.17 - 0.41
0.00
0.19
0.17 - 0.47
0.00
0.19
0.17 - 0.34
0.01
0.19
0.17 - 0.45
QF43
0.00
0.89
0.82 - 1.18
0.00
0.82
0.77 - 1.17
0.00
0.36
0.31 - 0.50
0.00
0.26
0.22 - 0.37
0.00
0.21
0.20 - 0.47
0.00
0.21
0.20 - 0.30
0.00
0.23
0.19 - 0.31
0.00
0.19
0.17 - 0.43
0.00
0.20
0.17 - 0.55
0.00
0.19
0.17 - 0.41
0.00
0.19
0.17 - 0.45
0.01
0.19
0.17 - 0.39
TSA
0.00
0.80
0.75 - 1.07
0.00
0.48
0.45 - 0.75
0.00
0.38
0.33 - 0.55
0.00
0.27
0.24 - 0.47
0.00
0.23
0.21 - 0.68
0.00
0.22
0.20 - 0.36
0.01
0.47
0.33 - 0.66
0.01
0.41
0.30 - 0.68
0.01
0.41
0.31 - 0.80
0.01
0.42
0.31 - 0.79
0.02
0.42
0.32 - 0.66
0.04
0.43
0.34 - 0.79
WFRQ3
0.00
0.88
0.80 - 1.23
0.00
0.87
0.79 - 1.28
0.01
0.45
0.37 - 0.61
0.00
0.28
0.24 - 0.67
0.00
0.24
0.22 - 0.61
0.01
0.23
0.21 - 0.33
0.01
0.25
0.21 - 0.33
0.01
0.21
0.19 - 0.49
0.01
0.21
0.18 - 0.46
0.01
0.20
0.17 - 0.53
0.01
0.20
0.17 - 0.36
0.01
0.20
0.18 - 0.45
TWFR3
0.00
0.81
0.73 - 1.01
0.00
0.74
0.68 - 2.11
0.01
0.39
0.33 - 0.52
0.00
0.26
0.22 - 0.53
0.00
0.23
0.20 - 0.55
0.01
0.23
0.21 - 0.35
0.01
0.25
0.20 - 0.36
0.01
0.21
0.18 - 0.47
0.01
0.20
0.18 - 0.49
0.01
0.20
0.18 - 0.43
0.02
0.20
0.18 - 0.38
0.03
0.22
0.19 - 0.40
TWFRQ4
0.00
0.82
0.78 - 1.18
0.00
0.82
0.77 - 1.61
0.00
0.34
0.30 - 0.86
0.00
0.25
0.23 - 0.46
0.00
0.22
0.20 - 0.50
0.01
0.22
0.20 - 0.29
0.01
0.23
0.19 - 0.30
0.01
0.20
0.18 - 0.37
0.01
0.20
0.17 - 0.37
0.01
0.42
0.31 - 0.77
0.02
0.42
0.33 - 0.65
0.04
0.44
0.33 - 0.80
MUSL1
0.00
0.62
0.58 - 0.95
0.00
0.60
0.56 - 1.42
0.00
0.83
0.53 - 1.92
0.00
0.64
0.52 - 1.03
0.00
0.46
0.39 - 1.05
0.00
0.43
0.34 - 0.64
0.00
0.46
0.33 - 0.64
0.00
0.40
0.29 - 0.62
0.00
0.40
0.30 - 0.91
0.01
0.41
0.31 - 0.74
0.01
0.41
0.31 - 0.70
0.01
0.41
0.31 - 0.73
SIMDKR
0.00
0.25
0.22 - 0.48
0.00
0.26
0.24 - 0.41
0.00
0.25
0.22 - 0.52
0.00
0.25
0.23 - 0.48
0.00
0.25
0.23 - 0.65
0.00
0.26
0.24 - 0.36
0.00
0.25
0.22 - 0.67
0.00
0.25
0.22 - 0.61
0.00
0.25
0.22 - 0.51
0.00
0.25
0.23 - 0.57
0.00
0.25
0.22 - 0.47
0.00
0.25
0.22 - 0.58
KRSIMD
0.00
0.60
0.55 - 1.18
0.00
0.59
0.50 - 0.68
0.00
0.52
0.48 - 0.92
0.00
0.52
0.48 - 1.21
0.00
0.52
0.48 - 1.14
0.00
0.58
0.51 - 0.89
0.00
0.54
0.50 - 1.28
0.00
0.54
0.50 - 0.98
0.00
0.54
0.50 - 0.90
0.00
0.58
0.51 - 1.30
0.00
0.57
0.54 - 0.84
0.00
0.96
0.91 - 1.32
EPSM
0.00
0.24
0.21 - 0.61
0.00
0.27
0.25 - 0.39
0.00
0.28
0.24 - 0.64
0.00
0.25
0.22 - 0.60
0.00
0.21
0.20 - 0.51
0.00
0.21
0.20 - 0.32
0.01
0.21
0.18 - 0.43
0.01
0.20
0.18 - 0.48
0.01
0.21
0.18 - 0.53
0.02
0.23
0.22 - 0.33
0.05
0.25
0.22 - 0.60
0.10
0.33
0.29 - 0.70
HC4
0.00
 -
0.00 - 0.00
0.00
0.84
0.80 - 1.03
0.00
0.32
0.29 - 0.65
0.00
0.24
0.22 - 0.39
0.00
0.21
0.19 - 0.47
0.00
0.21
0.20 - 0.34
0.00
0.20
0.17 - 0.45
0.00
0.20
0.17 - 0.45
0.00
0.19
0.17 - 0.35
0.00
0.20
0.18 - 0.28
0.00
0.19
0.17 - 0.40
0.01
0.19
0.17 - 0.44
LHC3
0.00
 -
0.00 - 0.00
0.00
0.51
0.48 - 0.69
0.00
0.30
0.27 - 0.70
0.00
0.24
0.22 - 0.44
0.00
0.21
0.20 - 0.75
0.00
0.22
0.20 - 0.34
0.00
0.20
0.18 - 0.54
0.00
0.20
0.18 - 0.45
0.00
0.20
0.17 - 0.55
0.01
0.20
0.19 - 0.32
0.01
0.20
0.17 - 0.48
0.01
0.20
0.17 - 0.54
LHC7
0.00
 -
0.00 - 0.00
0.00
 -
0.00 - 0.00
0.00
0.71
0.67 - 0.91
0.00
0.31
0.27 - 0.70
0.00
0.24
0.21 - 0.56
0.00
0.22
0.21 - 0.33
0.00
0.21
0.18 - 0.64
0.00
0.20
0.18 - 0.44
0.00
0.20
0.17 - 0.55
0.01
0.20
0.19 - 0.30
0.01
0.20
0.17 - 0.43
0.02
0.20
0.18 - 0.57
FHC3
0.00
 -
0.00 - 0.00
0.00
0.44
0.41 - 0.59
0.00
0.29
0.27 - 0.43
0.00
0.23
0.21 - 0.46
0.00
0.21
0.19 - 0.51
0.00
0.21
0.20 - 0.29
0.00
0.20
0.18 - 0.53
0.00
0.20
0.17 - 0.45
0.00
0.20
0.18 - 0.34
0.01
0.20
0.18 - 0.32
0.01
0.19
0.17 - 0.39
0.01
0.19
0.17 - 0.41
Table 1. Running times of experimental tests n.EXP1790259501. Each time value is the mean of 500 runs. Running times are in milliseconds.

Average Running Times
[No canvas support]
TVSBS
SBNDMQ2
BXS2
FS-W8
FSBNDM-W6
FSBNDMQ20
FSBNDMQ41
LWFR4
QF34
QF43
TSA
WFRQ3
TWFR3
TWFRQ4
MUSL1
SIMDKR
KRSIMD
EPSM
HC4
LHC3
LHC7
FHC3


Chart 1. Plot of the running times of experimental tests n.EXP1790259501. 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
[No canvas support]
Best Running Times
[No canvas support]
TVSBS - Thathoo-Virmani-Sai-Balakrishnan-Sekar
[No canvas support]
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
[No canvas support]
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
[No canvas support]
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
[No canvas support]
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
[No canvas support]
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
[No canvas support]
Detailed plot of the running times relative to the FSBNDMQ20 algorithm. The plot reports the mean and the distribution of the running times.
FSBNDMQ41 - fsbndm with q-grams and lookahead
[No canvas support]
Detailed plot of the running times relative to the FSBNDMQ41 algorithm. The plot reports the mean and the distribution of the running times.
LWFR4 - Weak Factor Recognizer, Linear Version
[No canvas support]
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
[No canvas support]
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
[No canvas support]
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
[No canvas support]
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
[No canvas support]
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
[No canvas support]
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
[No canvas support]
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
[No canvas support]
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
[No canvas support]
Detailed plot of the running times relative to the SIMDKR algorithm. The plot reports the mean and the distribution of the running times.
KRSIMD - Polynomial SIMD Rabin-Karp (AVX2)
[No canvas support]
Detailed plot of the running times relative to the KRSIMD algorithm. The plot reports the mean and the distribution of the running times.
EPSM - SSE4 Exact Packed String Matching
[No canvas support]
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
[No canvas support]
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
[No canvas support]
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
[No canvas support]
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
[No canvas support]
Detailed plot of the running times relative to the FHC3 algorithm. The plot reports the mean and the distribution of the running times.