Thanks to visit codestin.com
Credit goes to github.com

Skip to content

v2.23.2

Choose a tag to compare

@onsi onsi released this 20 Mar 16:12
· 90 commits to master since this release

2.23.2

πŸŽ‰πŸŽ‰πŸŽ‰

At long last, some long-standing performance gaps between ginkgo and go test have been resolved!

Ginkgo operates by running go test -c to generate test binaries, and then running those binaries. It turns out that the compilation step of go test -c is slower than go test's compilation step because go test strips out debug symbols (ldflags=-w) whereas go test -c does not.

Ginkgo now passes the appropriate ldflags to go test -c when running specs to strip out symbols. This is only done when it is safe to do so and symbols are preferred when profiling is enabled and when ginkgo build is called explicitly.

This, coupled, with the instructions for disabling XProtect on MacOS yields a much better performance experience with Ginkgo.