From 7cc190fff0dd34277906c0979cd0a1a52c9ee02d Mon Sep 17 00:00:00 2001 From: Eric Trombly Date: Mon, 30 Mar 2020 14:18:27 -0500 Subject: [PATCH] remove debug profiling from surface --- src/Mod/Path/PathScripts/PathSurface.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/Mod/Path/PathScripts/PathSurface.py b/src/Mod/Path/PathScripts/PathSurface.py index d2f9682fa4..2755925d70 100644 --- a/src/Mod/Path/PathScripts/PathSurface.py +++ b/src/Mod/Path/PathScripts/PathSurface.py @@ -365,11 +365,6 @@ class ObjectSurface(PathOp.ObjectOp): def opExecute(self, obj): '''opExecute(obj) ... process surface operation''' PathLog.track() - ######## DEBUG - import cProfile - pr = cProfile.Profile() - pr.enable() - ######## self.modelSTLs = list() self.safeSTLs = list() @@ -608,10 +603,6 @@ class ObjectSurface(PathOp.ObjectOp): del self.deflection execTime = time.time() - startTime - ####### DEBUG - pr.disable() - pr.dump_stats("/mnt/files/profile.cprof") - ############# PathLog.info('Operation time: {} sec.'.format(execTime)) return True