devtools/devctl.py
brancholdstable
changeset 8857 5d08086c3e6d
parent 8454 113184eb4e06
child 8866 64f24ecad177
equal deleted inserted replaced
8820:dbffb6959564 8857:5d08086c3e6d
   665 
   665 
   666 
   666 
   667 class ExamineLogCommand(Command):
   667 class ExamineLogCommand(Command):
   668     """Examine a rql log file.
   668     """Examine a rql log file.
   669 
   669 
   670     will print out the following table
   670     Will print out the following table
   671 
   671 
   672       total execution time || number of occurences || rql query
   672       Percentage; Cumulative Time (clock); Cumulative Time (CPU); Occurences; Query
   673 
   673 
   674     sorted by descending total execution time
   674     sorted by descending cumulative time (clock). Time are expressed in seconds.
   675 
   675 
   676     chances are the lines at the top are the ones that will bring the higher
   676     Chances are the lines at the top are the ones that will bring the higher
   677     benefit after optimisation. Start there.
   677     benefit after optimisation. Start there.
   678     """
   678     """
   679     arguments = 'rql.log'
   679     arguments = 'rql.log'
   680     name = 'exlog'
   680     name = 'exlog'
   681     options = ()
   681     options = ()