:: List a -> List a package:timestats

Run an action by previously reseting all stats to initial values and printing them afterwards.