What version of Go are you using (go version)?
1.10
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
Any
What did you do?
Spotted a performance degradation after switching from bytes.Buffer to strings.Builder.
https://golang.org/src/bytes/buffer.go#L95
https://golang.org/src/strings/builder.go#L53
What did you expect to see?
strings.Builder reusing the allocated array after Reset().
What did you see instead?
Unnecessary memory allocations. A lot of them.