remove debug profiling from surface

This commit is contained in:
Eric Trombly
2020-03-30 14:18:27 -05:00
parent edf9319f5a
commit 7cc190fff0

View File

@@ -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