1. 06 Jul, 2017 2 commits
  2. 05 Jul, 2017 1 commit
  3. 29 Jun, 2017 1 commit
  4. 28 Jun, 2017 1 commit
  5. 27 Jun, 2017 5 commits
  6. 26 Jun, 2017 2 commits
  7. 22 Jun, 2017 2 commits
  8. 12 May, 2017 2 commits
  9. 10 May, 2017 2 commits
  10. 09 May, 2017 8 commits
  11. 21 Apr, 2017 1 commit
  12. 20 Apr, 2017 1 commit
  13. 07 Mar, 2017 2 commits
  14. 09 Feb, 2017 1 commit
  15. 08 Feb, 2017 1 commit
    • Yoshisato Yanagisawa's avatar
      DCHECK_ALWAYS_ON to make D* enabled under NDEBUG · 027332ff
      Yoshisato Yanagisawa authored
      The macro NDEBUG could be automatically defined for release build on
      some build environments (e.g. MSVC).  If we use NDEBUG as a key to
      distinguish using DCHECK as CHECK (I call this DCHECK is enabled) or
      not, we cannot make DCHECK enabled for release build on such
      environments.
      
      Considering people use a program with glog for presubmit testing or
      dogfooding, they should need to do release build with DCHECK enabled.
      027332ff
  16. 09 Dec, 2016 1 commit
    • Pádraig Brady's avatar
      rate limit calls to posix_fadvise() · dacd2967
      Pádraig Brady authored
      There can be a large kernel overhead involved in POSIX_FADV_DONTNEED.
      There is no point in calling this per item logged, so rate limit
      to at most once per 2MiB written.
      
      With a simple test program that logs 100K items at WARNING level:
      
      Before:
      
        $ time strace -c -e fadvise64 log.test \
          -log_dir=/dev/shm -logtofiles=true -logtostderr=false
        % time     seconds  usecs/call     calls    errors syscall
        ------ ----------- ----------- --------- --------- ----------------
        100.00   12.522509         125     99957           fadvise64
        ------ ----------- ----------- --------- --------- ----------------
        real    0m52.671s
        user    0m2.194s
        sys     0m44.022s
      
      After:
      
        $ time strace -c -e fadvise64 log.test \
          -log_dir=/dev/shm -logtofiles=true -logtostderr=false
      
        % time     seconds  usecs/call     calls    errors syscall
        ------ ----------- ----------- --------- --------- ----------------
        100.00    0.000759         152         5           fadvise64
        ------ ----------- ----------- --------- --------- ----------------
        real    0m4.206s
        user    0m1.436s
        sys     0m3.153s
      
      Fixes issue #84
      dacd2967
  17. 20 Oct, 2016 1 commit
  18. 19 Oct, 2016 6 commits