Use the ‘_lsprof’ module.
objspace.usemodules.zipimport
objspace.usemodules.array
Enter search terms or a module, class or function name.