MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / add

Method add

benchmarks/src/utils/timing.py:49–51  ·  view source on GitHub ↗
(self, name, duration)

Source from the content-addressed store, hash-verified

47 self.timings = {}
48
49 def add(self, name, duration):
50 assert name not in self.timings
51 self.timings[name] = duration
52
53 def duration(self) -> float:
54 return self.timings["duration"]

Callers 10

timeMethod · 0.95
get_groupsFunction · 0.45
collect_idsFunction · 0.45
handle_deleteMethod · 0.45
drawFunction · 0.45
_skip_completedMethod · 0.45
assign_workersFunction · 0.45
start_processesMethod · 0.45

Calls

no outgoing calls

Tested by 3

get_groupsFunction · 0.36
collect_idsFunction · 0.36