4 ms·
Optimizing a Go Package by 38147125738.8x
- deleted 2y ago[deleted]
- FrankWilhoit 2y ago? Sanity check, please. There is no processor in existence on which any operation can be performed in one-thirtieth of a nanosecond. Has their compiler optimized their entire algorithm away?
- xnacly 2y agoIt specifically says ns/op, go test executes the operation many times and calculates the average execution time for one operation: https://pkg.go.dev/testing#hdr-Benchmarks https://pkg.go.dev/testing#hdr-Benchmarks