tests/test-profile.t
changeset 40381 4613f9274fc0
parent 40380 1ce4fe0603a6
child 40483 4e6ffcb5b9fc
child 40637 4790732559ad
equal deleted inserted replaced
40380:1ce4fe0603a6 40381:4613f9274fc0
    87 Various statprof formatters work
    87 Various statprof formatters work
    88 
    88 
    89   $ hg --profile --config profiling.statformat=byline sleep 2>../out
    89   $ hg --profile --config profiling.statformat=byline sleep 2>../out
    90   $ head -n 3 ../out
    90   $ head -n 3 ../out
    91     %   cumulative      self          
    91     %   cumulative      self          
       
    92    time    seconds   seconds  name    
       
    93    * sleepext.py:*:sleep (glob)
    92   $ cat ../out | statprofran
    94   $ cat ../out | statprofran
    93 
    95 
    94   $ hg --profile --config profiling.statformat=bymethod sleep 2>../out
    96   $ hg --profile --config profiling.statformat=bymethod sleep 2>../out
    95   $ head -n 1 ../out
    97   $ head -n 1 ../out
    96     %   cumulative      self          
    98     %   cumulative      self