summaryrefslogtreecommitdiffstats
path: root/include/Makefile.am
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-09-25 14:24:16 +0200
committerFlorian Westphal <fw@strlen.de>2018-09-26 10:32:28 +0200
commita428f882ebb6b79ca18c4d18946cacba40b8d84f (patch)
tree218ade0d0f09875f29630a1a515f23d84982fe1c /include/Makefile.am
parent61dc3b130c1b685ddae713ef9bede864f8bc7d33 (diff)
tests: shell: Improve performance of 0021prio_0
This test called nft binary 391 times and took about 38s to complete on my testing VM. Improve this by writing all commands into a temporary file for processing in a single nft call. Reduces run-time to about 4s. Interestingly, piping the sub-process's output directly into 'nft -f -' leads to spurious errors (parser complaining about perfectly fine syntax). It seems like handling large input this way is not possible. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include/Makefile.am')
0 files changed, 0 insertions, 0 deletions