1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/logger
Brian Goff 3f4fccb65f Use sync.Pool for logger Messages
This reduces allocs and bytes used per log entry significantly as well
as some improvement to time per log operation.

Each log driver, however, must put messages back in the pool once they
are finished with the message.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-02-01 13:52:37 -05:00
..
awslogs Use sync.Pool for logger Messages 2017-02-01 13:52:37 -05:00
etwlogs Use sync.Pool for logger Messages 2017-02-01 13:52:37 -05:00
fluentd Use sync.Pool for logger Messages 2017-02-01 13:52:37 -05:00
gcplogs Use sync.Pool for logger Messages 2017-02-01 13:52:37 -05:00
gelf Use sync.Pool for logger Messages 2017-02-01 13:52:37 -05:00
journald Use sync.Pool for logger Messages 2017-02-01 13:52:37 -05:00
jsonfilelog Use sync.Pool for logger Messages 2017-02-01 13:52:37 -05:00
logentries Use sync.Pool for logger Messages 2017-02-01 13:52:37 -05:00
loggerutils Rename 'context' to 'loginfo' in the logger module 2016-12-29 19:13:44 +08:00
splunk Use sync.Pool for logger Messages 2017-02-01 13:52:37 -05:00
syslog Use sync.Pool for logger Messages 2017-02-01 13:52:37 -05:00
copier.go Use sync.Pool for logger Messages 2017-02-01 13:52:37 -05:00
copier_test.go Use sync.Pool for logger Messages 2017-02-01 13:52:37 -05:00
factory.go Implement optional ring buffer for container logs 2017-02-01 13:52:37 -05:00
logger.go Use sync.Pool for logger Messages 2017-02-01 13:52:37 -05:00
loginfo.go Rename 'context' to 'loginfo' in the logger module 2016-12-29 19:13:44 +08:00
ring.go Use sync.Pool for logger Messages 2017-02-01 13:52:37 -05:00
ring_test.go Implement optional ring buffer for container logs 2017-02-01 13:52:37 -05:00