예제 #1
0
파일: profiler.py 프로젝트: Edanprof/greem
 def done(self):
     self.stop()
     context = profilingContext(self.context.roots)
     # print(context.methods)
     with open("python-profiler-result.jandy", "w") as f:
         tp = TFileObjectTransport(f)
         context.write(TJSONProtocol(tp))
         tp.flush()
예제 #2
0
파일: profiler.py 프로젝트: Choikoun/jandy
 def done(self):
     self.stop()
     context = profilingContext(self.context.roots())
     with open("python-profiler-result.jandy", "wt") as f:
         json.dump(context, f)
예제 #3
0
 def done(self):
     self.stop()
     context = profilingContext(self.context.roots())
     with open("python-profiler-result.jandy", "wt") as f:
         json.dump(context, f)