This project is mirrored from https://github.com/coredns/coredns.git. The repository failed to update .
Repository mirroring has been paused due to too many failed attempts, and can be resumed by a project maintainer.
Last successful update .
  1. 18 Jul, 2019 1 commit
  2. 17 Jul, 2019 2 commits
    • Charlie Vieth's avatar
      replacer: evaluate format once and improve perf by ~3x (#3002) · a2af651e
      Charlie Vieth authored
      * replacer: evaluate format once and improve perf by ~3x
      
      This improves the performance of logging by almost 3x and reduces memory
      usage by ~8x.
      
      Benchmark results:
      
      benchmark                                old ns/op     new ns/op     delta
      BenchmarkReplacer-12                     644           324           -49.69%
      BenchmarkReplacer_CommonLogFormat-12     4228          1471          -65.21%
      
      benchmark                                old allocs     new allocs     delta
      BenchmarkReplacer-12                     8              2              -75.00%
      BenchmarkReplacer_CommonLogFormat-12     51             17             -66.67%
      
      benchmark                                old bytes     new bytes     delta
      BenchmarkReplacer-12                     240           48            -80.00%
      BenchmarkReplacer_CommonLogFormat-12     3723          446           -88.02%
      
      * replacer: code review comments
      
      * bufPool: document why we use a pointer to a slice
      * parseFormat: fix confusing comment
      * TestParseFormat_Nodes: rename to TestParseFormatNodes
      
      * replacer: use a value for bufPool instead of a pointer
      
      * replacer: remove comment
      
      * replacer: replace labels with knownLabels
      
      The previous slice of label names is no longer needed.
      a2af651e
    • Charlie Vieth's avatar
      Fix log plugin benchmark and slightly improve performance (#3004) · 21e9c604
      Charlie Vieth authored
      * 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
      21e9c604
  3. 16 Jul, 2019 1 commit
  4. 15 Jul, 2019 2 commits
  5. 14 Jul, 2019 1 commit
  6. 12 Jul, 2019 2 commits
  7. 11 Jul, 2019 3 commits
  8. 04 Jul, 2019 9 commits
  9. 03 Jul, 2019 4 commits
  10. 02 Jul, 2019 1 commit
  11. 30 Jun, 2019 1 commit
    • Miek Gieben's avatar
      plugin/file: load secondary zones lazily on startup (#2944) · 3a0c7c61
      Miek Gieben authored
      This fixes a long standing bug:
      fixes: #1609
      
      Load secondary zones in a go-routine; this required another mutex to
      protect some fields; I think those were needded anyway because a
      transfer can also happen when we're running; we just didn't have a test
      for that situation.
      
      The test had to be changed to wait for the transfer to happen at this is
      async now.
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      3a0c7c61
  12. 29 Jun, 2019 1 commit
  13. 28 Jun, 2019 2 commits
  14. 26 Jun, 2019 4 commits
  15. 25 Jun, 2019 3 commits
  16. 24 Jun, 2019 1 commit
  17. 20 Jun, 2019 1 commit
    • Yong Tang's avatar
      Update multiple dependencies (#2904) · e54b784a
      Yong Tang authored
      This fix updates:
      - github.com/miekg/dns from 1.1.12 to 1.1.14
      - google.golang.org/grpc from 1.21.0 to 1.21.1
      - github.com/aws/aws-sdk-go from 1.19.41 to 1.20.3
      - github.com/prometheus/common from 0.4.1 to 0.6.0
      - gopkg.in/DataDog/dd-trace-go.v1 from 1.14.0 to 1.15.0
      
      This fix fixes #2899
      This fix fixes #2900
      This fix fixes #2901
      This fix fixes #2902
      This fix fixes #2903
      Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
      e54b784a
  18. 18 Jun, 2019 1 commit