]> git.ipfire.org Git - thirdparty/haproxy.git/commit
OPTIM: channel: reorganize struct members to improve cache efficiency
authorWilly Tarreau <w@1wt.eu>
Sat, 13 Oct 2012 08:05:56 +0000 (10:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 13 Oct 2012 08:55:22 +0000 (10:55 +0200)
commit0a8535fec8645db9d8891875553879f44063f598
tree222017a40c44e0c6bb9129cc7d3b7c5e1d28465e
parent9b28e03b66dd7e439860a973946ee376470281c8
OPTIM: channel: reorganize struct members to improve cache efficiency

Now that the buffer is moved out of the channel, it is possible to move
the pointer earlier in the struct and reorder some fields. This new
ordering improves overall performance by 2%, mainly saved in the HTTP
parsers and data transfers.
include/types/channel.h