diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-11-10 18:08:41 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-11-11 10:55:29 +0100 |
commit | 08725a9dc14c999d3b1602cb7932829301eba137 (patch) | |
tree | 3e3ea11963073842001bd94b9f216dc74a712334 /tests | |
parent | b3ed8fd8c9f33230fa819a3ae500cd1a99025038 (diff) |
cache: filter out rules by chain
With an autogenerated ruleset with ~20k chains.
# time nft list ruleset &> /dev/null
real 0m1,712s
user 0m1,258s
sys 0m0,454s
Speed up listing of a specific chain:
# time nft list chain nat MWDG-UGR-234PNG3YBUOTS5QD &> /dev/null
real 0m0,542s
user 0m0,251s
sys 0m0,292s
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions