Skip to content

Commit

Permalink
Undo temp changes
Browse files Browse the repository at this point in the history
  • Loading branch information
crusaderky committed Jun 26, 2022
1 parent 0f7da48 commit cf56a3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
4 changes: 2 additions & 2 deletions distributed/asv.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@

// The URL or local path of the source code repository for the
// project being benchmarked
"repo": "https://github.com/crusaderky/distributed",
"repo": "https://github.com/dask/distributed",

// List of branches to benchmark. If not provided, defaults to "main"
// (for git) or "default" (for mercurial).
"branches": ["WSMR/pickle", "staging"], // for git
"branches": ["main"], // for git
// "branches": ["default"], // for mercurial

// The DVCS being used. If not set, it will be automatically
Expand Down
13 changes: 2 additions & 11 deletions distributed/benchmarks/worker_state_machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,7 @@ class EnsureCommunicatingNoop(_EnsureCommunicating):

def setup(self, n_workers, n_tasks):
super().setup(n_workers, n_tasks)
self.ws.handle_stimulus(
self.acquire_replicas,
# FIXME this is only for compatibility with main
UnpauseEvent(stimulus_id="work-around-EnsureCommunicatingAfterTransitions"),
PauseEvent(stimulus_id="pause"),
)
self.ws.handle_stimulus(self.acquire_replicas)
self.ws.validate_state()

def time_noop(self, n_workers, n_tasks):
Expand All @@ -122,11 +117,7 @@ class EnsureCommunicatingOneWorker(_EnsureCommunicating):

def setup(self, n_workers, n_tasks):
super().setup(n_workers, n_tasks)
instructions = self.ws.handle_stimulus(
self.acquire_replicas,
# FIXME this is only for compatibility with main
UnpauseEvent(stimulus_id="work-around-EnsureCommunicatingAfterTransitions"),
)
instructions = self.ws.handle_stimulus(self.acquire_replicas)
instr = next(i for i in instructions if isinstance(i, GatherDep))
# Don't meter the transitions to memory
instructions = self.ws.handle_stimulus(
Expand Down

0 comments on commit cf56a3c

Please sign in to comment.