3 ms·
> With Go 1.17 it took 56 seconds to format all files This sounded extremely slow to me - go fmt is normally instant. Granted, cockroachdb is a big project B
by Andys 5y ago
> With Go 1.17 it took 56 seconds to format all files
This sounded extremely slow to me - go fmt is normally instant. Granted, cockroachdb is a big project
But I had to download and try, and on my computer (Ryzen 5950X) it only took ~3.1s on Go 1.17. I didn't bother trying tip.
- ayanamist 5y agoIn my laptop(ThinkPad P1 Gen3 w/ Intel i7-10750H), i run the same command in WSL2 env after executing `make`: real 0m5.321s user 0m25.747s sys 0m3.276s So i doubt if macOS has some magic for Intel CPU to make it slow?