[Box Backup-commit] [boxbackup/boxbackup] eae8e3: LineBuffer.h: update header comment and #include g...

GitHub noreply at github.com
Mon Feb 12 21:58:34 GMT 2018


  Branch: refs/heads/s3_support
  Home:   https://github.com/boxbackup/boxbackup
  Commit: eae8e3fe3b536110d3ae90bfe7c13830b63e57a2
      https://github.com/boxbackup/boxbackup/commit/eae8e3fe3b536110d3ae90bfe7c13830b63e57a2
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-02-12 (Mon, 12 Feb 2018)

  Changed paths:
    M lib/common/LineBuffer.h

  Log Message:
  -----------
  LineBuffer.h: update header comment and #include guard for new filename


  Commit: aa6e521dca6ae849e885bc1545133995425f5f8f
      https://github.com/boxbackup/boxbackup/commit/aa6e521dca6ae849e885bc1545133995425f5f8f
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-02-12 (Mon, 12 Feb 2018)

  Changed paths:
    M lib/common/Logging.cpp
    M lib/common/Logging.h
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Logging: improve performance by not generating message unnecessarily

Avoid building an ostringstream, writing all logged values to it and converting
it to a string, for log messages that no logger is currently interested in
(e.g. TRACE logging most of the time). Cache this "lowest common log level" and
update it when any logger is reconfigured, added or removed.


  Commit: f4ddaa24193c3114e907a3f3afaf6b6a7e4308aa
      https://github.com/boxbackup/boxbackup/commit/f4ddaa24193c3114e907a3f3afaf6b6a7e4308aa
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-02-12 (Mon, 12 Feb 2018)

  Changed paths:
    M lib/httpserver/HTTPQueryDecoder.cpp

  Log Message:
  -----------
  HTTPQueryDecoder::URLEncode: speed up by processing larger chunks

Scan the string for characters which need URL-encoding and append the substring
before that in one go. If the entire string does not need URL-encoding, just
return it without any further processing.


Compare: https://github.com/boxbackup/boxbackup/compare/4c7c5842bc6a...f4ddaa24193c


More information about the Boxbackup-commit mailing list