Skip to content

Add go benchmarks

Will Sewell requested to merge willsewell/gc-latency-experiment:add_go into master

The project needs to be in the $GOPATH to build.

The go benchmarks are impressive: I get a max pause of ~0.30ms on my machine with go 1.7.1. That's opposed to ~60ms for Haskell on my machine (GHC 8.0.1). It's to be expected since the GC mostly runs concurrently, and has been specifically tuned for low latency.

See docs of the GC debug output here: https://golang.org/pkg/runtime/. I'm only seding the STW wall clock times. Also my sed skill are awful. No doubt there's a better way of extracting the desired numbers.

Merge request reports