I am running PyQt/Pyside2 inside an embedded environment. Is there a way to profile it?
def onCreateInterface(): widget = MyQtWidget() return widget