##// END OF EJS Templates
profiling: revert the default mode back to 'cpu' on Windows...
profiling: revert the default mode back to 'cpu' on Windows On Windows, os.times() only returns user and system times. Real elapsed time is 0. That results in no actual times reported, an end wall time of 0.000000, and seemingly randomly sorted stack frames. This at least provides test stability in test-profile.t. I kind of think that `default=pycompat.iswindows and 'cpu' or 'real'` would be a better way to set the default in configitems, but I didn't see any other examples of this, and thought maybe there's a reason for that. That might allow plugging the value into the help text automatically- the documented default wasn't updated in db0dba2d157d.
Matt Harbison -
r40469:89703e61 stable
Show More
Name Size Modified Last Commit Author
/ mercurial / help / internals
bundle2.txt Loading ...
bundles.txt Loading ...
cbor.txt Loading ...
censor.txt Loading ...
changegroups.txt Loading ...
config.txt Loading ...
linelog.txt Loading ...
requirements.txt Loading ...
revlogs.txt Loading ...
wireprotocol.txt Loading ...
wireprotocolrpc.txt Loading ...
wireprotocolv2.txt Loading ...