devtools/devctl.py
branchstable
changeset 8866 64f24ecad177
parent 8696 0bb18407c053
parent 8857 5d08086c3e6d
child 8930 6a02be304486
child 9154 e713c47a993d
equal deleted inserted replaced
8863:98c107bd6cd0 8866:64f24ecad177
   673 
   673 
   674 
   674 
   675 class ExamineLogCommand(Command):
   675 class ExamineLogCommand(Command):
   676     """Examine a rql log file.
   676     """Examine a rql log file.
   677 
   677 
   678     will print out the following table
   678     Will print out the following table
   679 
   679 
   680       total execution time || number of occurences || rql query
   680       Percentage; Cumulative Time (clock); Cumulative Time (CPU); Occurences; Query
   681 
   681 
   682     sorted by descending total execution time
   682     sorted by descending cumulative time (clock). Time are expressed in seconds.
   683 
   683 
   684     chances are the lines at the top are the ones that will bring the higher
   684     Chances are the lines at the top are the ones that will bring the higher
   685     benefit after optimisation. Start there.
   685     benefit after optimisation. Start there.
   686     """
   686     """
   687     arguments = 'rql.log'
   687     arguments = 'rql.log'
   688     name = 'exlog'
   688     name = 'exlog'
   689     options = ()
   689     options = ()