Actions
action #15438
closedCache needle images outside of needle object
Start date:
2016-12-09
Due date:
% Done:
0%
Estimated time:
Description
So far we loaded the needle images whenever a needle was used in an check_screen. This lead to massive memory usage over time (which we only notice on developer machines, our production servers are RAM monsters :). https://github.com/os-autoinst/os-autoinst/pull/659 changes to free the needle images before every check_screen, but this wastes load time in case we're doing a check_screen in a loop.
So the proper solution is to save the last let's say 30 images in a singleton - and avoid using the needle object as cache.
Updated by coolo about 7 years ago
- Target version set to Ready
sounds like a good entrance level issue
Updated by mkittler almost 6 years ago
- Status changed from New to In Progress
Updated by mkittler almost 6 years ago
- Target version changed from Ready to Current Sprint
Updated by mkittler almost 6 years ago
- Status changed from In Progress to Resolved
PR has been merged
Actions