Telegram Web
๐Ÿ‡บ๐Ÿ‡ฆ Go performance channel
โ€œGo 1.21 Release Candidateโ€ by @elibendersky โ€” go.dev/blog/go1.21rc
> Go 1.21 improves build speed by up to 6%, largely thanks to building the compiler itself with PGO.
From https://github.com/golang/go/issues/43930

> SwissTable: Google3 may want to do some benchmarking on this. Maps are used heavily in google3. This may be of value to us.

There is a chance that next #golang releases will have a faster map implementation!

(Note: Google3 is Google's monorepo)
#golang linker optimisation in upcoming Go 1.21 https://go-review.googlesource.com/c/go/+/490915

(There is even more changes, see drop from Apr 24)
Felix Geisendรถrfer:

Interesting proposal from Russ Cox to improve the accuracy of the mutex profiler in #golang.

If you hold a mutex for 10ms and 5 goroutines wait for 10ms each, only 10ms of contention are recorded. The proposal is to change this to 50ms ๐Ÿ‘๐Ÿป

https://github.com/golang/go/issues/61015
๐Ÿ‡บ๐Ÿ‡ฆ Go performance channel
From @hackernews https://news.ycombinator.com/item?id=37054760
By the way, from release notes

> Go 1.21 improves build speed by up to 6%, largely thanks to building the compiler itself with PGO.
Every nanosecond matter.

Restructuring code to win 15-20ns in time.Since: https://go-review.googlesource.com/c/go/+/518336

Remove your โ€ž//go:linkname runtime.nanotime1โ€ after #golang 1.22 :D
C and C++ Prioritize Performance over Correctness
https://research.swtch.com/ub
2025/07/09 16:33:04
Back to Top
HTML Embed Code: