comparison tests/wireprotosimplecache.py @ 40144:acf560bc9b56

perf: extract the timing of a section in a context manager This makes it easier to reuse it in other (future) part of the code that requires their own time management.
author Boris Feld <boris.feld@octobus.net>
date Tue, 02 Oct 2018 18:54:06 +0200
parents b099e6032f38
children f7ff5b4fe745
comparison
equal deleted inserted replaced
40143:d5d28d360a19 40144:acf560bc9b56