pfctl -v -sr performance

From: Özkan KIRIK <ozkan.kirik_at_gmail.com>
Date: Mon, 12 Sep 2022 08:50:11 UTC
Hi,

I'm using the FreeBSD stable/12 branch. My pf ruleset has 8000 rules.
I'm collecting hit counters with a 5 seconds interval. But the command
pfctl -v -sr -a "anchorname" takes about 15 seconds.
Is it possible to speed up ?

Thanks, Regards