Register-based calling convention for #golang functions is alive. Which is super great! Fingers crossed that it will land in Go 1.17 this ~August.
https://github.com/golang/go/issues/40724
https://github.com/golang/go/issues/40724
The Ryu algorithm for fast float64->decimal conversion.
Almost 5 years later it's merged, @dvyukov you should be happy, right? :D
Hope it will land in #golang 1.17 this August (or so) https://github.com/golang/go/issues/15672
Special thanks to @oudomphe CC: @ulfjack (Ryu author) and @calebspare
Almost 5 years later it's merged, @dvyukov you should be happy, right? :D
Hope it will land in #golang 1.17 this August (or so) https://github.com/golang/go/issues/15672
Special thanks to @oudomphe CC: @ulfjack (Ryu author) and @calebspare
GitHub
strconv: implement the Ryu algorithm to speed up float64->decimal conversion ยท Issue #15672 ยท golang/go
go version devel +15f2d0e Fri May 13 01:19:05 2016 +0000 linux/amd64 func BenchmarkAppendFloatLarge1(b *testing.B) { benchmarkAppendFloat(b, 622666234635.321e-320, 'e', -1, 64) } func Bench...
๐บ๐ฆ Go performance channel
Register-based calling convention for #golang functions is alive. Which is super great! Fingers crossed that it will land in Go 1.17 this ~August. https://github.com/golang/go/issues/40724
The results are looking phenomenal. On a set of application benchmarks we've been using, geomean improvement is 6%
Great! #golang
Great! #golang
Roaring Bitmaps on ARM by @Quantcast and a good benchmark for @awscloud #graviton
https://quantcast.com/blog/inside-engineering-optimizing-ara-by-running-roaring-bitmaps-on-arm/
Also, note how a simple update to the latest #golang improves your performance!
CC: twitter.com/lemire
https://quantcast.com/blog/inside-engineering-optimizing-ara-by-running-roaring-bitmaps-on-arm/
Also, note how a simple update to the latest #golang improves your performance!
CC: twitter.com/lemire
Quantcast
Inside Engineering: Optimizing Araยฎ by Running Roaring Bitmaps on ARM
Learn how the engineering team solves hard problems and uses the Roaring bitmap encoding format to efficiently manipulate integer sets on ARM64.
Yet another tutorial how to use #golang pprof, but this time something else: pprof++
- Improved accuracy
- Insights into many kinds of CPU events
- High-frequency measurement
https://eng.uber.com/pprof-go-profiler/ by twitter.com/UberEng
- Improved accuracy
- Insights into many kinds of CPU events
- High-frequency measurement
https://eng.uber.com/pprof-go-profiler/ by twitter.com/UberEng
Even more profiling this day! Thank you @mbmcloughlin for sharing.
Anyone else? :D
https://twitter.com/mbmcloughlin/status/1392166315838775297
Anyone else? :D
https://twitter.com/mbmcloughlin/status/1392166315838775297
Twitter
Michael McLoughlin
profile: Simple profiling for Go Evolution of pkg/profile supporting: - Multiple profiles at once - Idiomatic flags like go test - Environment variable config like GODEBUGgithub.com/mmcloughlin/prโฆ
Perf is a good thing, but you also need to measure it properly. Check this out https://stonecode.ca/benchmarking-with-go/
(additional ๐ for the upcoming -shuffle=on in #golang 1.17)
(additional ๐ for the upcoming -shuffle=on in #golang 1.17)
High Performance Go Workshop by twitter.com/davecheney
Great page for an intro to achieve faster #golang code and also a good source of best practices.
https://dave.cheney.net/high-performance-go-workshop/dotgo-paris.html
Great page for an intro to achieve faster #golang code and also a good source of best practices.
https://dave.cheney.net/high-performance-go-workshop/dotgo-paris.html
Reducing Memory Allocations in #golang
https://chris124567.github.io/2021-06-21-go-performance/
by https://github.com/chris124567
https://chris124567.github.io/2021-06-21-go-performance/
by https://github.com/chris124567
chris124567.github.io
Reducing Memory Allocations in Golang
Goโs place between C and Python in terms of abstraction and garbage collection memory management model has made it attractive to programmers looking for a fast but reasonably high level language. However, there is no free lunch. Goโs abstractions, especiallyโฆ