Files
coredns/plugin
Charlie Vieth 21e9c6047b Fix log plugin benchmark and slightly improve performance (#3004)
* log: use ioutil.Discard as write buffer in benchmark

Using a buffer gives unrealistic stats and consumes a large amount of
memory.

* log: lazily check if a msg should be logged

* log: improve variable name

Change 'ok' to the more descriptive 'shouldLog'.

* log: code comments: don't reuse variable
2019-07-16 19:00:22 +00:00
..
2019-02-21 07:23:34 +00:00
2019-07-03 20:39:12 +01:00
2018-07-19 16:23:06 +01:00
2019-06-17 20:01:06 +01:00