Faster Tests
The code works with most of the tests, though it fails with a few ones.
- Memory usage has reduced quite a lot.
- Execution time has reduced significantly.
Result using Htop
[Old Test]
- Memory usage before test was run: 460 mb
- Memory usage at the end of test run: 1035 mb
- time taken: 256.67 secs
[ Tests after making changes]
- Memory usage before test was run: 460 mb
- Memory usage at the end of test run: 586 mb
- time taken: 106.35 secs.
Places the code fails:
- All those places where a refreshed backend is needed i.e in those cases app has to be initialized, but according to current algorithm, previous app is being used for the current one until new 'given_config' is encountered.
Need to fix the above issue.