commit | 4e33d8677a17c40dd77488ba317cbf5f3431869c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Oct 11 23:35:10 2009 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Oct 11 23:35:10 2009 +0200 |
tree | e3a47fe6af7ebf680bcd3bec3b9f7b4bc23cb08b | |
parent | ea1f5fe28a4ff0645f256527f43f45e8c52c4af6 [diff] |
[OPTIM] stats: check free space before trying to print This alone makes a typical HTML stats dump consume 10% CPU less, because we avoid doing complex printf calls to drop them later. Only a few common cases have been checked, those which are very likely to run for nothing.