added client end-to-end benchmark for 10K concurrent connections

This commit is contained in:
Aliaksandr Valialkin
2016-03-30 19:22:05 +03:00
parent 1f148c6c09
commit 064ef6ef44
+4
View File
@@ -318,6 +318,10 @@ func BenchmarkClientGetEndToEnd1000Inmemory(b *testing.B) {
benchmarkClientGetEndToEndInmemory(b, 1000)
}
func BenchmarkClientGetEndToEnd10KInmemory(b *testing.B) {
benchmarkClientGetEndToEndInmemory(b, 10000)
}
func benchmarkClientGetEndToEndInmemory(b *testing.B, parallelism int) {
ln := fasthttputil.NewInmemoryListener()