webrtc/rtc_base/system
Karl Wiberg cefc46517e RTC_LOG_* macros: Implement argument passing with a single variadic call
Instead of making multiple calls to the std::stringstream << operator,
collect all the arguments and make a single printf-like variadic call
under the hood.

Besides reducing our reliance on iostreams, this makes each RTC_LOG_*
call site smaller; in aggregate, this reduces the size of
libjingle_peerconnection_so.so by 28-32 kB.

A quick benchmark indicates that this change makes log statements
a few percent slower.

Bug: webrtc:8982, webrtc:9185
Change-Id: I3137a4dd8ac510e8d910acccb0c97ce4fffb61c9
Reviewed-on: https://webrtc-review.googlesource.com/75440
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Jonas Olsson <jonasolsson@webrtc.org>
Reviewed-by: Oskar Sundbom <ossu@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23375}
2018-05-23 23:15:04 +00:00
..
arch.h Remove typedefs.h from webrtc/ root (part 1) 2018-05-23 12:07:10 +00:00
asm_defines.h Move asm_defines.h to rtc_base/system/ 2018-03-22 03:12:13 +00:00
BUILD.gn RTC_LOG_* macros: Implement argument passing with a single variadic call 2018-05-23 23:15:04 +00:00
fallthrough.h Move FALLTHROUGH macro to a separate header, and give it an RTC_ prefix 2018-02-05 11:24:59 +00:00
file_wrapper.cc Move file_wrapper.h to rtc_base/system/ 2018-03-23 11:17:15 +00:00
file_wrapper.h Remove obsolete types from common_types.h 2018-04-12 12:23:37 +00:00
ignore_warnings.h Break out the part of the iSAC codec that's used for Voice Activity Detection 2018-05-04 08:53:34 +00:00
inline.h RTC_LOG_* macros: Implement argument passing with a single variadic call 2018-05-23 23:15:04 +00:00
unused.h Remove typedefs.h from webrtc/ root (part 1) 2018-05-23 12:07:10 +00:00