 Urban IshimweandGitHub
|
5d8ca525a4
|
deprecate output-http non-compatible clients (#833)
for easy readability check changes by their underlying commits!
these benchmarks address the whole operation of the request cycle in goreplay.
_**goos: linux
goarch: amd64**_
**Using Compatible client:**
```
BenchmarkHTTPOutput-4 10417 118969 ns/op 12172 B/op 93 allocs/op
BenchmarkHTTPOutputTLS-4 9136 132929 ns/op 12448 B/op 97 allocs/op
```
**Using non-compatible client**
```
BenchmarkHTTPOutput-4 859 1175040 ns/op 15598 B/op 46 allocs/op
BenchmarkHTTPOutputTLS-4 880 1189643 ns/op 15544 B/op 52 allocs/op
```
Binary size reduced: **7%**
from these benchmarks, we may trade allocations with performance and memory!
|
2020-10-13 08:36:16 +03:00 |
|