Created
August 8, 2018 04:53
-
-
Save samaita/4a1f18f5c5c0d9eb23be59713aff6f29 to your computer and use it in GitHub Desktop.
Output of Golang Benchmark for Fraud Check Function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nakama@slack-gary:~/go$ go test -bench=. | |
goos: linux | |
goarch: amd64 | |
BenchmarkIsFraud1-4 200000 5510 ns/op | |
BenchmarkIsFraud10-4 200000 6340 ns/op | |
BenchmarkIsFraud100-4 100000 15631 ns/op | |
BenchmarkIsFraud1000-4 20000 69969 ns/op | |
BenchmarkIsFraudByMap1-4 1000000 1013 ns/op | |
BenchmarkIsFraudByMap10-4 300000 4962 ns/op | |
BenchmarkIsFraudByMap100-4 30000 44113 ns/op | |
BenchmarkIsFraudByMap1000-4 3000 430789 ns/op | |
PASS | |
ok _/home/nakama//go 13.124s | |
nakama@slack-gary: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment