You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All the benchmarks call time.Now().String() and client.Addr().String() are we sure calling those (in parallel) did not get slower instead of the string concatenation?
If I replace those calls with package global variables then I get nearly equal benchmarks (within noise and maybe slightly faster for byte appends in Strconv):
What version of Go are you using (
go version
)?Go 1.11
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?Darwin/amd64
What did you do?
What did you expect to see?
Equal results between go 1.10 and go 1.11
What did you see instead?
Between a 6.88% and 15.63% regression across four different kinds of string concatenation.
The text was updated successfully, but these errors were encountered: