-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
benchmarks.txt
109 lines (73 loc) · 8.86 KB
/
benchmarks.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
Begin benchmark between sameLengthStringInput/asmePenhtgTsrnigIpnut :
goos: linux
goarch: amd64
pkg: github.com/hbollon/go-edlib/tests/benchmarks
BenchmarkEdlibAlgorithms/Levenshtein_sameLengthStringInput/asmePenhtgTsrnigIpnut-4 911866 1319 ns/op 176 B/op 1 allocs/op
Sim: 0.476190, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/LCS_sameLengthStringInput/asmePenhtgTsrnigIpnut-4 427773 2615 ns/op 4448 B/op 23 allocs/op
Sim: 0.333333, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/Hamming_sameLengthStringInput/asmePenhtgTsrnigIpnut-4 14490194 80.2 ns/op 0 B/op 0 allocs/op
Sim: 0.476190, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/DamerauLevenshtein_sameLengthStringInput/asmePenhtgTsrnigIpnut-4 89389 13371 ns/op 5720 B/op 27 allocs/op
Sim: 0.619048, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/OSADamerauLevenshtein_sameLengthStringInput/asmePenhtgTsrnigIpnut-4 354852 3196 ns/op 4448 B/op 23 allocs/op
Sim: 0.619048, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/Jaro_sameLengthStringInput/asmePenhtgTsrnigIpnut-4 2756888 436 ns/op 352 B/op 2 allocs/op
Sim: 0.802910, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/JaroWinkler_sameLengthStringInput/asmePenhtgTsrnigIpnut-4 2405114 496 ns/op 352 B/op 2 allocs/op
Sim: 0.802910, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/Cosine_sameLengthStringInput/asmePenhtgTsrnigIpnut-4 1449187 827 ns/op 608 B/op 14 allocs/op
Sim: 0.000000, Err: %!s(<nil>)
Begin benchmark between pneumonoultramicroscopicsilicovolcanoconiosis/nneumonkultramicrrscoipcsilicocolvanocpnisis :
BenchmarkEdlibAlgorithms/Levenshtein_pneumonoultramicroscopicsilicovolcanoconiosis/nneumonkultramicrrscoipcsilicocolvanocpnisis-4 181909 6362 ns/op 752 B/op 3 allocs/op
Sim: 0.800000, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/LCS_pneumonoultramicroscopicsilicovolcanoconiosis/nneumonkultramicrrscoipcsilicocolvanocpnisis-4 104131 10497 ns/op 19184 B/op 49 allocs/op
Sim: 0.666667, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/Hamming_pneumonoultramicroscopicsilicovolcanoconiosis/nneumonkultramicrrscoipcsilicocolvanocpnisis-4 4631355 262 ns/op 384 B/op 3 allocs/op
Sim: 0.000000, Err: Undefined for strings of unequal length
BenchmarkEdlibAlgorithms/DamerauLevenshtein_pneumonoultramicroscopicsilicovolcanoconiosis/nneumonkultramicrrscoipcsilicocolvanocpnisis-4 24183 48974 ns/op 20291 B/op 53 allocs/op
Sim: 0.822222, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/OSADamerauLevenshtein_pneumonoultramicroscopicsilicovolcanoconiosis/nneumonkultramicrrscoipcsilicocolvanocpnisis-4 92634 12792 ns/op 19184 B/op 49 allocs/op
Sim: 0.822222, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/Jaro_pneumonoultramicroscopicsilicovolcanoconiosis/nneumonkultramicrrscoipcsilicocolvanocpnisis-4 661698 1577 ns/op 1104 B/op 4 allocs/op
Sim: 0.807660, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/JaroWinkler_pneumonoultramicroscopicsilicovolcanoconiosis/nneumonkultramicrrscoipcsilicocolvanocpnisis-4 640942 1834 ns/op 1472 B/op 6 allocs/op
Sim: 0.807660, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/Cosine_pneumonoultramicroscopicsilicovolcanoconiosis/nneumonkultramicrrscoipcsilicocolvanocpnisis-4 1000000 1028 ns/op 960 B/op 14 allocs/op
Sim: 0.000000, Err: %!s(<nil>)
Begin benchmark between こにんちこにんちこにんちこにんち/こんにちはこんにちはこんにちはこんにちはこんにちは :
BenchmarkEdlibAlgorithms/Levenshtein_こにんちこにんちこにんちこにんち/こんにちはこんにちはこんにちはこんにちはこんにちは-4 687207 1562 ns/op 144 B/op 1 allocs/op
Sim: 0.800000, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/LCS_こにんちこにんちこにんちこにんち/こんにちはこんにちはこんにちはこんにちはこんにちは-4 406948 2933 ns/op 3952 B/op 18 allocs/op
Sim: 0.800000, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/Hamming_こにんちこにんちこにんちこにんち/こんにちはこんにちはこんにちはこんにちはこんにちは-4 2297835 518 ns/op 16 B/op 1 allocs/op
Sim: 0.000000, Err: Undefined for strings of unequal length
BenchmarkEdlibAlgorithms/DamerauLevenshtein_こにんちこにんちこにんちこにんち/こんにちはこんにちはこんにちはこんにちはこんにちは-4 163876 7244 ns/op 4480 B/op 19 allocs/op
Sim: 0.840000, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/OSADamerauLevenshtein_こにんちこにんちこにんちこにんち/こんにちはこんにちはこんにちはこんにちはこんにちは-4 350949 3298 ns/op 3952 B/op 18 allocs/op
Sim: 0.840000, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/Jaro_こにんちこにんちこにんちこにんち/こんにちはこんにちはこんにちはこんにちはこんにちは-4 1508124 793 ns/op 336 B/op 2 allocs/op
Sim: 0.796667, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/JaroWinkler_こにんちこにんちこにんちこにんち/こんにちはこんにちはこんにちはこんにちはこんにちは-4 883822 1290 ns/op 336 B/op 2 allocs/op
Sim: 0.817000, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/Cosine_こにんちこにんちこにんちこにんち/こんにちはこんにちはこんにちはこんにちはこんにちは-4 594639 1726 ns/op 576 B/op 14 allocs/op
Sim: 0.000000, Err: %!s(<nil>)
Begin benchmark between I love horror movies/Lights out is a horror movie :
BenchmarkEdlibAlgorithms/Levenshtein_I_love_horror_movies/Lights_out_is_a_horror_movie-4 721471 1616 ns/op 176 B/op 1 allocs/op
Sim: 0.464286, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/LCS_I_love_horror_movies/Lights_out_is_a_horror_movie-4 390859 3194 ns/op 5552 B/op 22 allocs/op
Sim: 0.357143, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/Hamming_I_love_horror_movies/Lights_out_is_a_horror_movie-4 12537974 94.9 ns/op 16 B/op 1 allocs/op
Sim: 0.000000, Err: Undefined for strings of unequal length
BenchmarkEdlibAlgorithms/DamerauLevenshtein_I_love_horror_movies/Lights_out_is_a_horror_movie-4 73371 16047 ns/op 6581 B/op 26 allocs/op
Sim: 0.464286, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/OSADamerauLevenshtein_I_love_horror_movies/Lights_out_is_a_horror_movie-4 308584 3839 ns/op 5552 B/op 22 allocs/op
Sim: 0.464286, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/Jaro_I_love_horror_movies/Lights_out_is_a_horror_movie-4 1981260 620 ns/op 384 B/op 2 allocs/op
Sim: 0.644643, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/JaroWinkler_I_love_horror_movies/Lights_out_is_a_horror_movie-4 1818890 666 ns/op 384 B/op 2 allocs/op
Sim: 0.644643, Err: %!s(<nil>)
BenchmarkEdlibAlgorithms/Cosine_I_love_horror_movies/Lights_out_is_a_horror_movie-4 435768 2407 ns/op 1904 B/op 36 allocs/op
Sim: 0.204124, Err: %!s(<nil>)
PASS
ok github.com/hbollon/go-edlib/tests/benchmarks 45.551s