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 EXP1742206914

Date 2025-03-17 12:23:53

Text englishTexts (alphabet : 128 - size : 1048576 bytes)

248163264128256512102420484096
TVSBS
0.02
2.57
1.85 - 4.49
0.02
1.95
1.43 - 3.35
0.02
1.47
1.10 - 2.38
0.02
1.05
0.81 - 1.50
0.02
0.85
0.69 - 1.34
0.02
0.74
0.62 - 1.14
0.02
0.70
0.58 - 1.13
0.02
0.67
0.56 - 0.98
0.02
0.74
0.56 - 4.41
0.02
0.63
0.53 - 1.08
0.02
0.61
0.52 - 0.89
0.00
 -
0.00 - 0.00
SBNDMQ2
0.01
1.52
1.27 - 2.36
0.01
1.07
0.72 - 2.28
0.01
0.96
0.64 - 5.86
0.01
0.83
0.61 - 1.46
0.01
0.77
0.59 - 1.08
0.01
0.77
0.59 - 1.10
0.01
0.76
0.56 - 1.10
0.01
0.77
0.59 - 1.14
0.01
0.77
0.59 - 1.18
0.01
0.77
0.57 - 1.05
0.01
0.76
0.56 - 1.08
0.01
0.76
0.58 - 1.11
BXS2
0.01
1.96
1.80 - 2.61
0.01
1.18
0.79 - 2.53
0.01
0.96
0.66 - 1.77
0.01
0.84
0.61 - 1.59
0.01
0.77
0.59 - 1.09
0.01
0.77
0.56 - 1.13
0.01
0.76
0.59 - 1.06
0.01
0.78
0.58 - 1.39
0.01
0.77
0.59 - 1.11
0.01
0.77
0.59 - 1.15
0.01
0.76
0.58 - 1.09
0.01
0.78
0.60 - 1.14
FS-W8
0.02
2.36
0.90 - 7.70
0.02
1.47
0.73 - 3.46
0.02
1.08
0.65 - 2.62
0.02
0.87
0.58 - 1.71
0.02
0.75
0.55 - 1.15
0.02
0.69
0.53 - 1.03
0.02
0.66
0.51 - 1.01
0.02
0.66
0.52 - 1.10
0.03
0.66
0.54 - 1.06
0.03
0.67
0.53 - 1.10
0.00
 -
0.04 - 0.80
0.00
 -
0.06 - 1.15
FSBNDM-W6
0.01
2.12
1.86 - 5.67
0.01
1.99
1.82 - 2.53
0.00
 -
0.02 - 1.18
0.01
0.81
0.65 - 1.17
0.01
0.70
0.58 - 1.03
0.01
0.68
0.57 - 1.01
0.01
0.69
0.58 - 1.12
0.01
0.70
0.57 - 1.24
0.01
0.72
0.59 - 1.09
0.01
0.71
0.58 - 1.18
0.01
0.70
0.58 - 1.04
0.01
0.70
0.59 - 1.20
FSBNDMQ20
0.01
1.67
1.36 - 2.80
0.01
1.08
0.76 - 2.16
0.01
0.95
0.64 - 1.71
0.01
0.86
0.63 - 1.26
0.01
0.82
0.59 - 2.62
0.01
0.76
0.59 - 1.41
0.01
0.78
0.58 - 1.29
0.01
0.78
0.58 - 1.17
0.01
0.81
0.61 - 2.71
0.01
0.77
0.57 - 1.21
0.01
0.76
0.58 - 1.08
0.01
0.76
0.59 - 1.03
LWFR4
0.01
2.04
1.83 - 5.42
0.01
1.99
1.79 - 2.90
0.01
0.95
0.73 - 1.61
0.01
0.70
0.59 - 1.08
0.01
0.64
0.54 - 0.96
0.01
0.60
0.53 - 0.81
0.01
0.59
0.51 - 0.88
0.02
0.60
0.51 - 0.93
0.02
0.58
0.50 - 0.80
0.03
0.59
0.51 - 0.94
0.05
0.60
0.53 - 1.07
0.10
0.65
0.56 - 1.38
QF34
0.01
2.00
1.82 - 2.41
0.01
1.27
1.04 - 2.67
0.01
0.89
0.67 - 1.61
0.01
0.72
0.57 - 1.27
0.01
0.68
0.54 - 1.11
0.01
0.62
0.52 - 0.92
0.01
0.59
0.51 - 0.86
0.01
0.60
0.50 - 1.07
0.01
0.56
0.50 - 0.87
0.01
0.58
0.49 - 0.91
0.01
0.56
0.49 - 0.88
0.01
0.58
0.48 - 0.93
QF43
0.01
1.98
1.81 - 3.54
0.01
1.94
1.80 - 2.50
0.01
0.93
0.69 - 1.98
0.01
0.69
0.57 - 1.35
0.01
0.63
0.53 - 1.12
0.01
0.60
0.51 - 0.88
0.01
0.58
0.51 - 0.82
0.01
0.61
0.50 - 0.97
0.01
0.55
0.49 - 0.81
0.01
0.58
0.49 - 0.94
0.01
0.54
0.48 - 0.75
0.01
0.58
0.49 - 0.86
TSA
0.01
2.09
1.79 - 3.10
0.01
1.37
1.15 - 2.51
0.01
1.06
0.79 - 1.79
0.01
0.85
0.65 - 1.48
0.01
0.75
0.57 - 2.69
0.01
0.67
0.55 - 0.98
0.02
0.84
0.68 - 1.62
0.02
0.81
0.65 - 1.51
0.02
0.75
0.61 - 1.09
0.03
0.75
0.60 - 1.19
0.04
0.72
0.59 - 1.09
0.07
0.76
0.61 - 1.23
WFRQ3
0.01
1.98
1.82 - 2.47
0.01
2.20
1.96 - 3.05
0.01
1.08
0.85 - 1.95
0.01
0.76
0.62 - 1.21
0.01
0.69
0.56 - 1.16
0.01
0.63
0.52 - 0.96
0.01
0.62
0.52 - 0.98
0.01
0.63
0.51 - 1.03
0.01
0.56
0.50 - 0.79
0.02
0.57
0.49 - 1.00
0.02
0.57
0.49 - 1.26
0.03
0.63
0.51 - 1.54
TWFR3
0.01
1.96
1.80 - 2.56
0.01
1.85
1.57 - 3.30
0.01
0.95
0.74 - 1.79
0.01
0.74
0.58 - 1.18
0.01
0.71
0.55 - 1.32
0.01
0.66
0.54 - 1.22
0.01
0.62
0.53 - 0.92
0.02
0.61
0.52 - 1.04
0.02
0.57
0.50 - 0.80
0.03
0.59
0.50 - 0.93
0.04
0.59
0.51 - 0.98
0.06
0.64
0.53 - 1.37
TWFRQ4
0.01
1.95
1.80 - 2.40
0.01
1.97
1.78 - 3.35
0.01
0.90
0.73 - 1.44
0.01
0.71
0.58 - 1.10
0.01
0.64
0.53 - 0.99
0.01
0.62
0.52 - 0.93
0.01
0.59
0.51 - 0.90
0.01
0.59
0.50 - 0.88
0.01
0.56
0.49 - 0.82
0.03
0.77
0.60 - 1.18
0.04
0.72
0.58 - 1.03
0.06
0.76
0.60 - 1.18
MUSL1
0.00
1.35
0.62 - 2.48
0.00
1.55
0.85 - 2.12
0.01
1.94
1.07 - 2.72
0.01
1.51
1.12 - 2.22
0.01
1.08
0.87 - 1.55
0.01
0.93
0.75 - 1.44
0.01
0.85
0.67 - 1.92
0.01
0.77
0.63 - 1.07
0.01
0.74
0.60 - 1.04
0.01
0.75
0.59 - 1.22
0.01
0.69
0.56 - 1.00
0.03
0.75
0.56 - 1.10
SIMDKR
0.01
0.71
0.51 - 1.25
0.01
0.70
0.52 - 1.19
0.01
0.66
0.52 - 1.03
0.01
0.67
0.52 - 1.17
0.01
0.67
0.52 - 1.06
0.01
0.68
0.52 - 1.19
0.01
0.69
0.52 - 1.24
0.01
0.65
0.52 - 1.03
0.01
0.66
0.52 - 1.13
0.01
0.72
0.52 - 2.29
0.01
0.65
0.51 - 0.96
0.01
0.67
0.51 - 1.23
EPSM
0.00
0.64
0.55 - 1.03
0.01
0.68
0.58 - 1.16
0.01
0.81
0.67 - 1.61
0.01
0.66
0.57 - 0.96
0.01
0.59
0.52 - 0.85
0.01
0.60
0.51 - 1.06
0.01
0.62
0.50 - 0.93
0.02
0.57
0.50 - 0.91
0.03
0.59
0.52 - 0.87
0.05
0.64
0.55 - 1.12
0.11
0.69
0.61 - 1.05
0.25
0.89
0.75 - 2.17
HC4
0.00
 -
0.00 - 0.00
0.01
1.82
1.62 - 3.75
0.01
0.86
0.70 - 1.35
0.01
0.67
0.57 - 0.93
0.01
0.63
0.53 - 0.99
0.01
0.62
0.52 - 1.01
0.01
0.58
0.50 - 0.82
0.01
0.58
0.50 - 0.85
0.01
0.55
0.49 - 0.83
0.01
0.56
0.48 - 1.03
0.01
0.57
0.48 - 1.03
0.01
0.57
0.48 - 1.35
LHC3
0.00
 -
0.00 - 0.00
0.01
1.32
1.07 - 2.36
0.01
0.84
0.67 - 1.36
0.01
0.72
0.57 - 1.21
0.01
0.67
0.53 - 0.97
0.01
0.63
0.53 - 0.89
0.01
0.60
0.52 - 0.83
0.01
0.60
0.51 - 1.02
0.01
0.56
0.49 - 0.89
0.01
0.55
0.49 - 0.77
0.02
0.56
0.49 - 0.82
0.03
0.58
0.50 - 0.96
LHC7
0.00
 -
0.00 - 0.00
0.00
 -
0.00 - 0.00
0.01
1.81
1.63 - 2.98
0.01
0.80
0.70 - 1.16
0.01
0.65
0.56 - 0.94
0.01
0.60
0.52 - 0.82
0.01
0.58
0.51 - 0.84
0.01
0.61
0.50 - 1.23
0.01
0.56
0.49 - 0.80
0.01
0.56
0.49 - 0.86
0.02
0.58
0.49 - 1.04
0.03
0.58
0.50 - 0.93
FHC3
0.00
 -
0.00 - 0.00
0.01
1.26
0.99 - 2.38
0.01
0.78
0.64 - 1.21
0.01
0.68
0.56 - 1.03
0.01
0.64
0.53 - 0.90
0.01
0.67
0.53 - 2.33
0.01
0.59
0.51 - 1.47
0.01
0.59
0.51 - 0.90
0.01
0.58
0.50 - 0.84
0.01
0.56
0.49 - 0.97
0.01
0.56
0.48 - 0.99
0.02
0.58
0.48 - 1.27
Table 1. Running times of experimental tests n.EXP1742206914. 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
LWFR4
QF34
QF43
TSA
WFRQ3
TWFR3
TWFRQ4
MUSL1
SIMDKR
EPSM
HC4
LHC3
LHC7
FHC3


Chart 1. Plot of the running times of experimental tests n.EXP1742206914. 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.
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.
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.