doc/book/en/development/profiling/index.rst
changeset 2544 282261b26774
parent 2539 0f26a76b0348
child 2546 df456fa1b053
equal deleted inserted replaced
2543:19103bdcab36 2544:282261b26774
    20 The structure of each line is::
    20 The structure of each line is::
    21 
    21 
    22     <RQL QUERY> <QUERY ARGS IF ANY> -- <TIME SPENT>
    22     <RQL QUERY> <QUERY ARGS IF ANY> -- <TIME SPENT>
    23 
    23 
    24 CubicWeb also provides the **exlog** command to examine and summarize data found
    24 CubicWeb also provides the **exlog** command to examine and summarize data found
    25 in such a file::
    25 in such a file:
       
    26 ::
    26     $ cubicweb-ctl exlog < ~/myapp-rql.log
    27     $ cubicweb-ctl exlog < ~/myapp-rql.log
    27     0.07 50 Any A WHERE X eid %(x)s, X firstname A {}
    28     0.07 50 Any A WHERE X eid %(x)s, X firstname A {}
    28     0.05 50 Any A WHERE X eid %(x)s, X lastname A {}
    29     0.05 50 Any A WHERE X eid %(x)s, X lastname A {}
    29     0.01 1 Any X,AA ORDERBY AA DESC WHERE E eid %(x)s, E employees X, X modification_date AA {}
    30     0.01 1 Any X,AA ORDERBY AA DESC WHERE E eid %(x)s, E employees X, X modification_date AA {}
    30     0.01 1 Any X WHERE X eid %(x)s, X owned_by U, U eid %(u)s {, }
    31     0.01 1 Any X WHERE X eid %(x)s, X owned_by U, U eid %(u)s {, }