mirror of https://github.com/OISF/suricata
detect/profiling: improve pcap reading performance
When reading a pcap, packet time can move much faster than wall
clock time. This would trigger many more profile syncs than before.
As the sync is using a lock to synchronize with other threads, this
is an expensive operation.
Bug: #6619.
Fixes: b591813b86 ("profiling/rules: reduce sync logic scope")
pull/10134/head
parent
8d3de85edd
commit
bcb2b50cfc
Loading…
Reference in New Issue