]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: checks: use an inline function for health_adjust()
authorWilly Tarreau <w@1wt.eu>
Tue, 31 Dec 2013 22:47:37 +0000 (23:47 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Dec 2013 22:47:37 +0000 (23:47 +0100)
commit9fe7aae6eb4b0576832bfaf5b10fa97cbbdf34b5
treecf4ebcd5f532232d2dedcb5492b8cf5877a6db9e
parent9e5a3aacf42204cc55ac819f127c37a56fba132d
MINOR: checks: use an inline function for health_adjust()

This function is called twice per request, and does almost always nothing.
Better use an inline version to avoid entering it when we can.

About 0.5% additional performance was gained this way.
include/proto/checks.h
src/checks.c