You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#197 removed the caches from test_core, because they added several seconds per cache per run, for basically no value: unless the cache is completely broken, the yaml tests from uap-core only have singletons so the caches didn't do anything.
What would be more useful is having test_caches do a lot more interesting generic stuff (e.g. test cache hits within the cache's size to ensure caches don't overclear — or underclear for that matter) stuff like that.
Partial results are back-filled (new domains added) by re-setting them
in the cache. With a sufficiently incorrect implementation, the cache
can evict entries on that occasion even though it does not need
to (because we're replacing an existing entry).
Exactly that should have been fixed by ua-parser#204, but was not tested at the
time.
Fixesua-parser#199
Partial results are back-filled (new domains added) by re-setting them
in the cache. With a sufficiently incorrect implementation, the cache
can evict entries on that occasion even though it does not need
to (because we're replacing an existing entry).
Exactly that should have been fixed by ua-parser#204, but was not tested at the
time.
Fixesua-parser#199
#197 removed the caches from
test_core
, because they added several seconds per cache per run, for basically no value: unless the cache is completely broken, the yaml tests from uap-core only have singletons so the caches didn't do anything.What would be more useful is having
test_caches
do a lot more interesting generic stuff (e.g. test cache hits within the cache's size to ensure caches don't overclear — or underclear for that matter) stuff like that.Notably missing tests:
The text was updated successfully, but these errors were encountered: