Created
March 20, 2020 16:06
-
-
Save TrinhTrungDung/d250bc0c5a5692f70e5ea599cf550221 to your computer and use it in GitHub Desktop.
Test benchmark with different batch size
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
func BenchmarkBulkCreateSize1(b *testing.B) { | |
benchmarkBulkCreate(1, b) | |
} | |
func BenchmarkBulkCreateSize100(b *testing.B) { | |
benchmarkBulkCreate(100, b) | |
} | |
func BenchmarkBulkCreateSize500(b *testing.B) { | |
benchmarkBulkCreate(500, b) | |
} | |
func BenchmarkBulkCreateSize1000(b *testing.B) { | |
benchmarkBulkCreate(1000, b) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment