[Twisted-Python] profiling code that runs in threads

Pet petshmidt at googlemail.com
Wed Apr 14 06:35:24 EDT 2010


Hello!

I've tried to profile my twisted server with --profile=path
--profiler=cProfile --savestats options for twistd and it show results
only for functions which are in main thread and it is not really
helpful, because "dirty work" is done in threads. Is it possible to
profile functions which runs in other threads?


Thanks!

Pet



More information about the Twisted-Python mailing list