5287b2ddbf
The (*bitmap.Handle).String() method can be rather expensive to call. It is all the more tragic when the expensively-constructed string is immediately discarded because the log level is not high enough. Let logrus stringify the arguments to debug logs so they are only stringified when the log level is high enough. # Before ok github.com/docker/docker/libnetwork/ipam 10.159s # After ok github.com/docker/docker/libnetwork/ipam 2.484s Signed-off-by: Cory Snider <csnider@mirantis.com> |
||
---|---|---|
.. | ||
allocator.go | ||
allocator_test.go | ||
parallel_test.go | ||
structures.go | ||
utils.go |