collect avg timings for module subcmds

This needs more work before it can go in, this is just a (useable) mockup.

@rtmclay is using this to work on speeding up `--terse avail` .