comparison tests/test-revert-interactive.t @ 38797:8751d1e2a7ff

util: create a context manager to handle timing The context manager is pulled out of the timed decorator function, and refactored to provide a stats instance, with added tests.
author Martijn Pieters <mj@zopatista.com>
date Wed, 01 Aug 2018 16:05:41 +0200
parents b95a6fb7ae66
children cb70501d8b71
comparison
equal deleted inserted replaced
38796:f956dc7217fc 38797:8751d1e2a7ff