Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/It4innovations/hyperqueue
/ time
Method
time
benchmarks/src/utils/timing.py:63–67 ·
view source on GitHub ↗
(self, name="duration")
Source
from the content-addressed store, hash-verified
61
62
@contextlib.contextmanager
63
def
time(self, name=
"duration"
):
64
start = time.time()
65
yield
66
duration = time.time() - start
67
self.add(name, duration)
Callers
15
measure_snake_tasks
Function · 0.95
measure_dask_tasks
Function · 0.95
test_job_wait_for_open_job_without_close
Function · 0.80
test_server_wait_timeout_no_server
Function · 0.80
test_server_wait_success_immediate
Function · 0.80
test_server_wait_success_delayed
Function · 0.80
wait_until
Function · 0.80
execute
Method · 0.80
measure_server_util
Function · 0.80
run_benchmarks
Function · 0.80
wait_until
Function · 0.80
execute
Function · 0.80
Calls
1
add
Method · 0.95
Tested by
4
test_job_wait_for_open_job_without_close
Function · 0.64
test_server_wait_timeout_no_server
Function · 0.64
test_server_wait_success_immediate
Function · 0.64
test_server_wait_success_delayed
Function · 0.64