๐Ÿ‡บ๐Ÿ‡ฆ Go performance channel
1.5K subscribers
40 photos
403 links
Go performance, runtime, concurrency.

Talks, blogposts and open source projects for gophers.

Not affiliated with Go team.

https://go-perf.dev

(mail: [email protected] / @olegkovalov)
Download Telegram
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