from gcstruct import gcstruct_uebersetzung import cProfile def gcstruct_profiler(): gcstruct_uebersetzung("C:\\GlobalCube\\Tasks\\scripts") if __name__ == "__main__": cProfile.run( "gcstruct_profiler()", "gcstruct_profiler.prof", )