2016-02-02 14:57:42 +03:00
|
|
|
benchmark | old ns/op | new ns/op | delta
|
|
|
|
-----------------------------------------------|-----------|-------------|-----------
|
|
|
|
BenchmarkAllGlobMatch-4 512 711 +38.87%
|
|
|
|
BenchmarkMultipleGlobMatch-4 121 417 +244.63%
|
|
|
|
BenchmarkAlternativesGlobMatch-4 166 300 +80.72%
|
|
|
|
BenchmarkAlternativesSuffixFirstGlobMatch-4 23.5 292 +1142.55%
|
|
|
|
BenchmarkAlternativesSuffixSecondGlobMatch-4 29.8 355 +1091.28%
|
|
|
|
BenchmarkAlternativesCombineLiteGlobMatch-4 161 250 +55.28%
|
|
|
|
BenchmarkAlternativesCombineHardGlobMatch-4 325 334 +2.77%
|
|
|
|
BenchmarkPlainGlobMatch-4 7.20 154 +2038.89%
|
|
|
|
BenchmarkPrefixGlobMatch-4 8.75 113 +1191.43%
|
|
|
|
BenchmarkSuffixGlobMatch-4 9.07 115 +1167.92%
|
|
|
|
BenchmarkPrefixSuffixGlobMatch-4 15.1 125 +727.81%
|
2016-02-02 22:03:37 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-02-02 14:57:42 +03:00
|
|
|
BenchmarkIndexPrefix-4 85.1 55.9 -34.31%
|
2016-02-02 22:03:37 +03:00
|
|
|
BenchmarkIndexRange-4 170(143) 60.6 -64.35%
|
|
|
|
BenchmarkRowIndex-4 172(128) 94.0 -45.35%
|
|
|
|
BenchmarkIndexSingle-4 61.0(16) 35.8 -41.31%
|
2016-02-02 14:57:42 +03:00
|
|
|
BenchmarkIndexSuffix-4 84.8 55.7 -34.32%
|
2016-02-02 22:03:37 +03:00
|
|
|
BenchmarkIndexSuper-4 461(180) 192 -58.35%
|
2016-02-02 14:57:42 +03:00
|
|
|
BenchmarkIndexText-4 84.6 54.4 -35.70%
|
2016-02-02 22:03:37 +03:00
|
|
|
BenchmarkIndexPrefixSuffix-4 84.3 57.2 -32.15%
|
|
|
|
BenchmarkIndexNothing-4 452(3.31) 92.8 -79.47% XXX
|
|
|
|
BenchmarkIndexMin-4 516(274) 161 -68.80%
|
|
|
|
BenchmarkIndexMax-4 442(88) 92.4 -79.10%
|
|
|
|
BenchmarkIndexList-4 151(41) 51.1 -66.16%
|
|
|
|
BenchmarkIndexContains-4 492(220) 247 -49.80%
|
|
|
|
BenchmarkIndexAny-4 887(222) 255 -71.25%
|