Sizes of LRU caches are now configurable
0 as size value disable the cache. The diffs in unit tests are due to the fact that some lookups are performed before the first insert: before this change these lookups weren't counted because the cache was not yet initialized, now they are.
This commit is contained in:
@@ -8,12 +8,12 @@ Confidence Match by port : 22 (flows)
|
||||
Confidence DPI : 201 (flows)
|
||||
Num dissector calls: 24123 (90.35 diss/flow)
|
||||
LRU cache ookla: 0/0/0 (insert/search/found)
|
||||
LRU cache bittorrent: 0/0/0 (insert/search/found)
|
||||
LRU cache bittorrent: 0/156/0 (insert/search/found)
|
||||
LRU cache zoom: 0/0/0 (insert/search/found)
|
||||
LRU cache stun: 0/0/0 (insert/search/found)
|
||||
LRU cache tls_cert: 1/0/0 (insert/search/found)
|
||||
LRU cache mining: 0/0/0 (insert/search/found)
|
||||
LRU cache msteams: 0/0/0 (insert/search/found)
|
||||
LRU cache tls_cert: 1/2/0 (insert/search/found)
|
||||
LRU cache mining: 0/66/0 (insert/search/found)
|
||||
LRU cache msteams: 0/168/0 (insert/search/found)
|
||||
Automa host: 135/121 (search/found)
|
||||
Automa domain: 130/0 (search/found)
|
||||
Automa tls cert: 1/1 (search/found)
|
||||
|
||||
Reference in New Issue
Block a user