commit | 0431f9d476a1237f76e360998bc7605506651b84 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Nov 05 17:35:40 2016 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Nov 05 18:00:17 2016 +0100 |
tree | 9e4450a8c5935570268d4c4751e90ea357856fde | |
parent | 2235b261b6163cf20325e519c13c3f93f16b4d3a [diff] |
OPTIM: http: improve parsing performance of long header lines A performance test with 1kB cookies was capping at 194k req/s. After implementing multi-byte skipping, the performance increased to 212k req/s, or 9.2% faster. This patch implements this for architectures supporting unaligned accesses (x86_64, x86, armv7a). Maybe other architectures can benefit from this but they were not tested yet.