Skip to content

Commit

Permalink
fix steps not being logged
Browse files Browse the repository at this point in the history
  • Loading branch information
Berserker66 committed Nov 12, 2023
1 parent 8800fc8 commit d8be708
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/benchmark/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,15 @@ def main(self):

gc.collect()
for step in self.gen_steps:
with TimeIt(f"{game} step {step}"):
with TimeIt(f"{game} step {step}", logger):
call_all(multiworld, step)
gc.collect()

all_state = multiworld.get_all_state(False)
locations = sorted(multiworld.get_unfilled_locations())

if not locations:
continue

all_state = multiworld.get_all_state(False)
for location in locations:
time_taken = self.location_test(location, multiworld.state, "empty_state")
summary_data["empty_state"][location.name] = time_taken
Expand Down

0 comments on commit d8be708

Please sign in to comment.