Since it allows for multiple PCAP files, it might be worth processing them concurrently with something like a [ThreadPoolExecutor](https://docs.python.org/3/library/concurrent.futures.html).