Tryton application process monitoring

There is a tool in tryton that allows me to monitor each of the processes to know their performance?

Not that I know of. And monitoring processes can mean many things. There are tools for python in general:

In my modules I use a decorator quite often:

from functools import wraps
from time import time

def timeit(func):
    def wrap(*args, **kw):
        start = time()
        result = func(*args, **kw)
        end = time()
        print('func:%r args:[%r, %r]: %2.4f sec' % \
          (func.__name__, args, kw, end-start))
        return result
    return wrap

def heavyfunc(self, param):
      do heavy stuff

1 Like