The large_ldap.py testsuite creates many large objects per unit test at the moment, which is inefficient. By creating the objects just once per test suite run, it a 20m run becomes a 6m run.
This bug was referenced in samba master: b4a6c054ec6acefacd22cb7230a783d20cb07c05
This bug was referenced in samba v4-16-stable (Release samba-4.16.10): bf7b9d9d5e4fd837f5528dc7140082423131d2b5
This bug was referenced in samba v4-17-stable (Release samba-4.17.7): a91fc6e9f1def8bed920efba9c1bd1f4713eb3ca
This bug was referenced in samba v4-18-stable (Release samba-4.18.1): 64da379aa95de1cd36d72f9aee59372318115e2d
This bug was referenced in samba v4-16-test: bf7b9d9d5e4fd837f5528dc7140082423131d2b5
This bug was referenced in samba v4-17-test: a91fc6e9f1def8bed920efba9c1bd1f4713eb3ca
This bug was referenced in samba v4-18-test: 64da379aa95de1cd36d72f9aee59372318115e2d