Slowness problèmes after upgrade from 2.8 to 2.9

Hi everyone,
I have a slowness problem after upgrading ansible from ansible 2.8 to ansible 2.9 (and from python 2.7 to python 3 only on controller). A lot of differents taskes (and différents modules) became very slow (from seconds to more than 5 minutes). After activating debug, I can see à kind of loop over loading module:

Loading Lookup Module '<one module in urlsplit/env/cordes/files/k8s/mathstuff/... each in turns> from <path_to_module>
More than 4000 times in à raw for each module.

Have you ever experimence this kind of slowness ?

I suspect that issue might be caused by the newer ansible version which is potentially exhausting resources on the ansible controller node.
Pay close attention to memory usage on the controller node when you’re running ansible.

Thanks for advice, I will take a look.

We found the problems after many times and it’s caused by https://github.com/ansible/ansible/issues/68763

(we rollback to ansible 2.8 for some times and now we will work on our lookup and variables to fix the issue)
Thanks for the help anyway.
Have a nice day.