log durations uses time.time instead of a patchable timer reference
log durations uses time.time instead of a patchable timer reference: a task in repo2rlenv-swe-next (Harbor dataset). The log durations context manager/decorator in funcy.debug currently measures elapsed time using time.time() . The tests expect the module to expose a timer name (imported as from…
The task
The `log_durations` context manager/decorator in `funcy.debug` currently measures elapsed time using `time.time()`. The tests expect the module to expose a `timer` name (imported as `from timeit import default_timer as timer`) so that it can be monkeypatched for deterministic testing.
Part of FineEnvs/repo2rlenv-swe-next.