mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Fix broken httpd_test.
PiperOrigin-RevId: 324822613
This commit is contained in:
committed by
gVisor bot
parent
7142a86a2c
commit
1bdadbc4f8
@@ -68,13 +68,13 @@ func BenchmarkHttpdConcurrency(b *testing.B) {
|
||||
// BenchmarkHttpdDocSize iterates over different sized payloads, testing how
|
||||
// well the runtime handles sending different payload sizes.
|
||||
func BenchmarkHttpdDocSize(b *testing.B) {
|
||||
benchmarkHttpDocSize(b, false /* reverse */)
|
||||
benchmarkHttpdDocSize(b, false /* reverse */)
|
||||
}
|
||||
|
||||
// BenchmarkReverseHttpdDocSize iterates over different sized payloads, testing
|
||||
// how well the runtime handles receiving different payload sizes.
|
||||
func BenchmarkReverseHttpdDocSize(b *testing.B) {
|
||||
benchmarkHttpDocSize(b, true /* reverse */)
|
||||
benchmarkHttpdDocSize(b, true /* reverse */)
|
||||
}
|
||||
|
||||
func benchmarkHttpdDocSize(b *testing.B, reverse bool) {
|
||||
|
||||
Reference in New Issue
Block a user