[CONTRIB] halog: minor speed improvement in timer parser
authorWilly Tarreau <w@1wt.eu>
Thu, 28 Oct 2010 18:39:50 +0000 (20:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 30 Oct 2010 17:04:37 +0000 (19:04 +0200)
commit24bcb4f2ff353281467c3f0dccee9f51cfa7554c
tree4ed2b2d0e47da05507f769b85e6f42920627e9c5
parentabe45b6bb33606c5fde7b671a371d6b253d9900d
[CONTRIB] halog: minor speed improvement in timer parser

The timer parser looks for the next slash after the last timer, which is
very far away. Those 4 occurrences have been fixed to match the way it's
done in URL sorting, which is faster. Average speed gain is 5-6% on -srv
and -pct.
(cherry picked from commit 3555671c93695f48c02ef05c8bb228523f17ca20)
contrib/halog/halog.c