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:38:37

Text rand4 (alphabet : 4 - size : 1048576 bytes)

248163264128256512102420484096
TVSBS
0.01
2.09
1.82 - 3.17
0.01
1.67
1.43 - 2.37
0.01
1.17
0.98 - 1.80
0.01
0.89
0.67 - 1.75
0.01
0.76
0.55 - 1.31
0.01
0.70
0.46 - 1.25
0.01
0.71
0.46 - 1.19
0.01
0.71
0.44 - 1.10
0.01
0.72
0.43 - 1.25
0.01
0.71
0.45 - 1.09
0.01
0.71
0.45 - 1.17
0.00
 -
0.63 - 0.63
SBNDMQ2
0.00
1.05
0.98 - 1.99
0.00
0.87
0.51 - 2.04
0.00
0.76
0.41 - 1.57
0.00
0.54
0.40 - 1.15
0.00
0.39
0.34 - 0.56
0.00
0.38
0.32 - 0.92
0.00
0.37
0.33 - 0.60
0.00
0.37
0.33 - 0.54
0.00
0.37
0.33 - 0.53
0.00
0.37
0.32 - 0.55
0.00
0.37
0.34 - 0.53
0.00
0.37
0.33 - 0.53
BXS2
0.00
0.80
0.73 - 1.72
0.00
0.97
0.50 - 2.33
0.00
0.79
0.46 - 1.91
0.00
0.56
0.44 - 1.31
0.00
0.39
0.35 - 0.62
0.00
0.40
0.33 - 1.03
0.00
0.39
0.34 - 0.54
0.00
0.40
0.35 - 0.54
0.00
0.39
0.35 - 0.59
0.00
0.39
0.35 - 0.58
0.00
0.39
0.35 - 0.56
0.00
0.39
0.36 - 0.50
FS-W8
0.00
 -
999.00 - 460561.76
0.00
 -
999.00 - 1913.68
0.09
1.69
1.15 - 3.08
0.01
1.47
0.79 - 3.08
0.01
1.54
0.68 - 2.83
0.01
1.49
0.55 - 3.18
0.01
1.56
0.66 - 2.59
0.01
1.55
0.53 - 2.75
0.01
1.54
0.66 - 2.74
0.02
1.56
0.61 - 2.55
0.03
1.54
0.79 - 2.51
0.06
1.57
0.66 - 2.50
FSBNDM-W6
0.00
 -
999.00 - 449884.56
0.00
 -
999.00 - 1922.68
0.09
1.67
1.16 - 3.32
0.01
1.46
0.79 - 2.66
0.01
1.49
0.65 - 2.71
0.01
1.49
0.56 - 2.97
0.01
1.61
0.59 - 2.88
0.01
1.55
0.53 - 2.71
0.01
1.54
0.66 - 2.69
0.02
1.55
0.62 - 3.10
0.03
1.55
0.76 - 2.54
0.06
1.56
0.64 - 2.61
FSBNDMQ20
0.00
1.03
0.95 - 1.98
0.00
0.87
0.51 - 1.81
0.00
0.75
0.38 - 1.73
0.00
0.53
0.39 - 1.15
0.00
0.37
0.32 - 0.82
0.00
0.37
0.32 - 0.80
0.00
0.42
0.35 - 0.58
0.00
0.38
0.34 - 0.55
0.00
0.38
0.34 - 0.57
0.00
0.38
0.33 - 0.49
0.00
0.38
0.34 - 0.54
0.00
0.38
0.34 - 0.55
FSBNDMQ41
0.00
0.81
0.77 - 1.28
0.00
0.66
0.62 - 1.07
0.00
0.39
0.35 - 0.56
0.00
0.29
0.26 - 0.60
0.00
0.25
0.22 - 0.55
0.00
0.25
0.23 - 0.61
0.00
0.29
0.24 - 0.37
0.00
0.26
0.25 - 0.36
0.00
0.26
0.24 - 0.38
0.00
0.26
0.24 - 0.39
0.00
0.26
0.25 - 0.36
0.00
0.26
0.24 - 0.40
LWFR4
0.00
0.81
0.77 - 1.17
0.00
0.84
0.77 - 1.88
0.01
0.39
0.35 - 0.56
0.01
0.28
0.25 - 0.55
0.01
0.24
0.22 - 0.46
0.01
0.23
0.21 - 0.53
0.01
0.26
0.22 - 0.36
0.01
0.22
0.20 - 0.33
0.01
0.21
0.19 - 0.30
0.01
0.21
0.19 - 0.31
0.02
0.22
0.20 - 0.30
0.04
0.24
0.22 - 0.35
QF34
0.00
0.81
0.77 - 1.28
0.00
0.75
0.63 - 1.87
0.00
0.48
0.37 - 0.75
0.00
0.36
0.29 - 0.93
0.00
0.34
0.26 - 0.91
0.00
0.29
0.26 - 0.63
0.00
0.30
0.25 - 0.41
0.00
0.25
0.23 - 0.46
0.00
1.41
0.23 - 33.95
0.00
59.92
0.31 - 64.32
0.01
112.97
107.90 - 123.40
0.01
227.94
211.81 - 241.24
QF43
0.00
0.81
0.78 - 1.14
0.00
0.82
0.77 - 1.16
0.00
0.44
0.37 - 0.61
0.00
0.27
0.24 - 0.64
0.00
0.24
0.22 - 0.42
0.00
0.24
0.21 - 0.32
0.00
0.23
0.21 - 0.33
0.00
0.22
0.20 - 0.34
0.00
0.21
0.20 - 0.33
0.00
0.20
0.17 - 0.52
0.00
0.21
0.18 - 0.43
0.01
3.01
0.19 - 122.40
TSA
0.00
1.12
1.00 - 2.04
0.00
0.82
0.70 - 1.32
0.00
0.62
0.50 - 0.86
0.00
0.42
0.34 - 1.06
0.00
0.34
0.29 - 0.97
0.00
0.27
0.25 - 0.40
0.01
1.59
0.60 - 2.79
0.01
1.58
0.54 - 2.87
0.01
1.56
0.66 - 2.65
0.02
1.57
0.58 - 3.08
0.03
1.56
0.77 - 2.68
0.06
1.58
0.65 - 4.00
WFRQ3
0.00
0.81
0.77 - 1.21
0.00
1.10
1.04 - 1.68
0.01
0.62
0.45 - 0.87
0.00
0.39
0.32 - 0.80
0.00
0.35
0.27 - 0.86
0.01
0.28
0.26 - 0.41
0.01
0.22
0.21 - 0.33
0.01
0.21
0.20 - 0.32
0.01
0.20
0.19 - 0.30
0.01
0.19
0.18 - 0.34
0.01
0.20
0.19 - 0.31
0.01
0.21
0.18 - 0.56
TWFR3
0.00
0.81
0.78 - 1.06
0.00
0.87
0.82 - 1.60
0.01
0.55
0.38 - 0.70
0.00
0.36
0.29 - 0.80
0.01
0.33
0.27 - 0.91
0.01
0.27
0.24 - 0.39
0.01
0.23
0.21 - 0.32
0.01
0.21
0.20 - 0.31
0.01
0.21
0.19 - 0.31
0.01
0.20
0.18 - 0.36
0.02
0.21
0.20 - 0.30
0.03
0.22
0.20 - 0.31
TWFRQ4
0.00
0.82
0.77 - 1.82
0.00
0.85
0.80 - 1.47
0.01
0.42
0.35 - 0.55
0.00
0.28
0.25 - 0.64
0.00
0.25
0.22 - 0.56
0.01
0.24
0.22 - 0.37
0.01
0.23
0.21 - 0.37
0.01
0.22
0.20 - 0.33
0.01
0.20
0.19 - 0.29
0.02
1.53
0.57 - 3.64
0.03
1.56
0.76 - 2.62
0.06
1.59
0.68 - 2.52
MUSL1
0.00
1.15
1.06 - 2.29
0.00
0.64
0.60 - 0.98
0.00
1.87
1.19 - 3.22
0.00
1.55
0.77 - 3.56
0.00
1.55
0.68 - 3.28
0.00
1.63
0.65 - 2.77
0.00
1.64
0.62 - 2.60
0.00
1.65
0.54 - 3.03
0.01
1.63
0.69 - 2.61
0.01
1.63
0.61 - 4.15
0.01
1.62
0.76 - 2.71
0.02
1.62
0.65 - 2.68
SIMDKR
0.00
0.41
0.36 - 0.96
0.00
0.47
0.38 - 1.36
0.00
0.46
0.39 - 0.60
0.00
0.41
0.35 - 1.36
0.00
0.40
0.35 - 1.05
0.00
0.41
0.39 - 1.20
0.00
0.41
0.39 - 0.59
0.00
0.41
0.39 - 0.60
0.00
0.41
0.39 - 0.56
0.00
0.41
0.37 - 1.27
0.00
0.41
0.39 - 0.55
0.00
0.41
0.39 - 0.61
KRSIMD
0.00
1.43
1.34 - 2.92
0.00
0.62
0.56 - 1.02
0.00
0.58
0.47 - 1.13
0.00
0.53
0.46 - 1.60
0.00
0.53
0.48 - 1.38
0.00
0.59
0.51 - 0.94
0.00
0.59
0.52 - 0.82
0.00
0.59
0.53 - 0.83
0.00
0.58
0.54 - 0.80
0.00
0.54
0.50 - 1.63
0.00
0.62
0.55 - 0.86
0.00
0.99
0.95 - 1.23
EPSM
0.00
0.24
0.22 - 0.54
0.00
0.26
0.23 - 0.58
0.00
0.35
0.31 - 0.63
0.00
0.25
0.23 - 0.50
0.00
0.22
0.19 - 0.61
0.00
0.21
0.20 - 0.28
0.01
0.21
0.20 - 0.29
0.01
0.21
0.20 - 0.31
0.01
0.22
0.20 - 0.33
0.02
0.22
0.20 - 0.53
0.05
0.26
0.25 - 0.38
0.10
0.33
0.31 - 0.42
HC4
0.00
 -
0.00 - 0.00
0.00
0.85
0.76 - 1.86
0.00
0.36
0.33 - 0.66
0.00
0.27
0.24 - 0.58
0.00
0.24
0.21 - 0.71
0.00
0.24
0.22 - 0.36
0.00
0.23
0.21 - 0.31
0.00
0.21
0.20 - 0.30
0.00
0.20
0.19 - 0.28
0.00
0.19
0.17 - 0.33
0.00
0.20
0.18 - 0.30
0.01
0.20
0.18 - 0.29
LHC3
0.00
 -
0.00 - 0.00
0.00
0.68
0.57 - 1.61
0.00
0.44
0.32 - 1.31
0.00
0.37
0.31 - 0.85
0.00
0.34
0.28 - 0.94
0.00
0.27
0.25 - 0.38
0.00
0.23
0.21 - 0.35
0.00
0.21
0.20 - 0.32
0.01
0.21
0.20 - 0.30
0.01
0.20
0.18 - 0.56
0.01
0.21
0.20 - 0.32
0.02
0.22
0.20 - 0.31
LHC7
0.00
 -
0.00 - 0.00
0.00
 -
0.00 - 0.00
0.00
0.74
0.66 - 1.16
0.00
0.35
0.31 - 0.49
0.00
0.27
0.23 - 0.71
0.00
0.24
0.23 - 0.35
0.00
0.23
0.22 - 0.35
0.00
0.22
0.21 - 0.34
0.01
0.21
0.19 - 0.32
0.01
0.19
0.17 - 0.43
0.01
0.20
0.19 - 0.27
0.02
0.21
0.20 - 0.28
FHC3
0.00
 -
0.00 - 0.00
0.00
0.62
0.50 - 1.32
0.00
0.40
0.32 - 0.98
0.00
0.35
0.30 - 0.56
0.00
0.32
0.26 - 0.85
0.00
0.26
0.24 - 0.39
0.00
0.22
0.20 - 0.33
0.00
0.21
0.20 - 0.30
0.01
0.21
0.19 - 0.30
0.00
0.20
0.18 - 0.46
0.01
0.21
0.19 - 0.31
0.01
0.28
0.20 - 0.84
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.