Code

statsd plugin: Avoid calling snprintf() in the hot path.
authorFlorian Forster <octo@collectd.org>
Thu, 11 Jul 2013 08:12:54 +0000 (10:12 +0200)
committerFlorian Forster <octo@collectd.org>
Thu, 11 Jul 2013 08:12:54 +0000 (10:12 +0200)
commit74f51aa494578a5b1cbd8a93597374c62db39640
tree84f88ab5e239a6ef3858d097bb1b7c78c2a9e601
parentacc226d722bf3d4d06ff49f93f2bed27aec3aec6
statsd plugin: Avoid calling snprintf() in the hot path.

snprintf() is very expensive and the alternative is simple. This shaves
off about 7% of the time spent handling events.
src/statsd.c