Skip to content

Instantly share code, notes, and snippets.

@orian
Created September 27, 2020 14:01
Show Gist options
  • Save orian/0c704ed4b12ce22925ad24410e453fa0 to your computer and use it in GitHub Desktop.
Save orian/0c704ed4b12ce22925ad24410e453fa0 to your computer and use it in GitHub Desktop.
go test -test.v -test.bench ^BenchmarkSearch_Search.*$ -test.run ^$
goos: linux
goarch: amd64
pkg: github.com/datainq/teryt/search
BenchmarkSearch_SearchOld
BenchmarkSearch_SearchOld-8 37 33642952 ns/op
BenchmarkSearch_Search
BenchmarkSearch_Search-8 152 7784588 ns/op
BenchmarkSearch_SearchV3
BenchmarkSearch_SearchV3/parallel-1
BenchmarkSearch_SearchV3/parallel-1-8 150 7900379 ns/op
BenchmarkSearch_SearchV3/parallel-2
BenchmarkSearch_SearchV3/parallel-2-8 277 4286875 ns/op
BenchmarkSearch_SearchV3/parallel-3
BenchmarkSearch_SearchV3/parallel-3-8 321 3643391 ns/op
BenchmarkSearch_SearchV3/parallel-4
BenchmarkSearch_SearchV3/parallel-4-8 330 3492188 ns/op
BenchmarkSearch_SearchV3/parallel-5
BenchmarkSearch_SearchV3/parallel-5-8 382 3085371 ns/op
BenchmarkSearch_SearchV3/parallel-6
BenchmarkSearch_SearchV3/parallel-6-8 429 2752282 ns/op
BenchmarkSearch_SearchV3/parallel-7
BenchmarkSearch_SearchV3/parallel-7-8 493 2352805 ns/op
BenchmarkSearch_SearchV3/parallel-8
BenchmarkSearch_SearchV3/parallel-8-8 490 2433284 ns/op
PASS
ok github.com/datainq/teryt/search 27.525s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment