commit | 8e92738ffde650a819f6bb05cb637dea50af9b70 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Jan 26 11:06:07 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jan 27 16:28:10 2022 +0100 |
tree | c6c24d0d063dddb5d48b79e62f3db9647d84a371 | |
parent | bf9c07fd91d6d0930361e7fedcb9055c7d776d47 [diff] |
DEBUG: lru: use a xorshift generator in the testing code The standalone testing code used to rely on rand(), but switching to a xorshift generator speeds up the test by 7% which is important to accurately measure the real impact of the LRU code itself.