News for hackers. Stuff that matters.

kevpie

Re:Ball: A ball that lives in your dock on Tuesday June 25, 2024 @10:59PM (#40796004)
I was going to say this sounds like Go Go Red Ball. Wonderful to see the nod to Nate Heagy in the repo!
Re:Go 1.10 Release Notes on Saturday February 17, 2018 @01:50PM (#16402053)
You are right, no changes. With a change, most objects are still valid as cached and can result in similar speedup. I'm also wary of caching introducing bugs and intend to continue to CI without it as a safety net. May even require a no cache build before pushing commits.
Re:Go 1.10 Release Notes on Saturday February 17, 2018 @02:05AM (#16399464)
Larger projects can now effectively be TDD'd in. Or rather you modify or fix a test in a test file and the tests compile and execute very fast. Or even simply the call to `go run`, `go build` and `go test` will be significantly faster.

This is the kind of difference I'm getting

GOCACHE=off time go build

       16.36 real        37.02 user         6.43 sys
GOCACHE=on time go build

        0.66 real         0.53 user         0.37 sys
Number of files including vendor dependencies (some files may not actually be imported)

find . -name '*.go' | wc -l

    2031