tests/test-contrib-perf.t
changeset 40141 8643219146e1
parent 39318 c03c5f528e9b
child 40550 164b2e77f9a5
equal deleted inserted replaced
40140:46f9b1d2daf0 40141:8643219146e1
   205   ! wall * comb * user * sys * (best of *) (glob)
   205   ! wall * comb * user * sys * (best of *) (glob)
   206   ! wall * comb * user * sys * (max of *) (glob)
   206   ! wall * comb * user * sys * (max of *) (glob)
   207   ! wall * comb * user * sys * (avg of *) (glob)
   207   ! wall * comb * user * sys * (avg of *) (glob)
   208   ! wall * comb * user * sys * (median of *) (glob)
   208   ! wall * comb * user * sys * (median of *) (glob)
   209 
   209 
       
   210 test json output
       
   211 ----------------
       
   212 
       
   213 normal output:
       
   214 
       
   215   $ hg perfheads --template json --config perf.stub=no
       
   216   [
       
   217    {
       
   218     "comb": *, (glob)
       
   219     "count": *, (glob)
       
   220     "sys": *, (glob)
       
   221     "user": *, (glob)
       
   222     "wall": * (glob)
       
   223    }
       
   224   ]
       
   225 
       
   226 detailed output:
       
   227 
       
   228   $ hg perfheads --template json --config perf.all-timing=yes --config perf.stub=no
       
   229   [
       
   230    {
       
   231     "avg.comb": *, (glob)
       
   232     "avg.count": *, (glob)
       
   233     "avg.sys": *, (glob)
       
   234     "avg.user": *, (glob)
       
   235     "avg.wall": *, (glob)
       
   236     "comb": *, (glob)
       
   237     "count": *, (glob)
       
   238     "max.comb": *, (glob)
       
   239     "max.count": *, (glob)
       
   240     "max.sys": *, (glob)
       
   241     "max.user": *, (glob)
       
   242     "max.wall": *, (glob)
       
   243     "median.comb": *, (glob)
       
   244     "median.count": *, (glob)
       
   245     "median.sys": *, (glob)
       
   246     "median.user": *, (glob)
       
   247     "median.wall": *, (glob)
       
   248     "sys": *, (glob)
       
   249     "user": *, (glob)
       
   250     "wall": * (glob)
       
   251    }
       
   252   ]
       
   253 
   210 Check perf.py for historical portability
   254 Check perf.py for historical portability
   211 ----------------------------------------
   255 ----------------------------------------
   212 
   256 
   213   $ cd "$TESTDIR/.."
   257   $ cd "$TESTDIR/.."
   214 
   258