author | Florian Forster <octo@collectd.org> | |
Thu, 11 Jul 2013 08:12:54 +0000 (10:12 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Thu, 11 Jul 2013 08:12:54 +0000 (10:12 +0200) | ||
commit | 74f51aa494578a5b1cbd8a93597374c62db39640 | |
tree | 84f88ab5e239a6ef3858d097bb1b7c78c2a9e601 | tree | snapshot |
parent | acc226d722bf3d4d06ff49f93f2bed27aec3aec6 | commit | diff |
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.
snprintf() is very expensive and the alternative is simple. This shaves
off about 7% of the time spent handling events.
src/statsd.c | diff | blob | history |