[PATCH] perf: fix perfcca to work with new casecollisionauditor interface

Matt Mackall mpm at selenic.com
Wed Jul 18 14:00:06 CDT 2012


On Wed, 2012-07-18 at 14:53 +0000, Joshua Redstone wrote:
> I haven't been able to figure out how to verify this change.  I was trying
> to use debugshell but then couldn't figure out how to
> import the perf.py module.  Any suggestions?

perf is just an extension, so you enable it thusly:

[extension]
perf=/path/to/hg/contrib/perf.py

This is definitely the preferred way to do microbenchmarking of
internals, so you should get acquainted with it.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list