ndpiReader: add statistics about nDPI performance (#1240)
The goal is to have a (roughly) idea about how many packets nDPI needs to properly classify a flow. Log this information (and guessed flows number too) during unit tests, to keep track of improvements/regressions across commits.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
Guessed flow protos: 2
|
||||
|
||||
DPI Packets (TCP): 13 (4.33 pkts/flow)
|
||||
DPI Packets (UDP): 2 (2.00 pkts/flow)
|
||||
DPI Packets (other): 1 (1.00 pkts/flow)
|
||||
|
||||
DNS 2 216 1
|
||||
HTTP 1 66 1
|
||||
ICMP 1 98 1
|
||||
|
||||
Reference in New Issue
Block a user