3 ms·
? 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 optim
by 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