Skip to content

Commit

Permalink
feat: close environment and log completion message in benchmark run
Browse files Browse the repository at this point in the history
  • Loading branch information
ll7 committed Nov 27, 2024
1 parent c2f6685 commit 46870d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/benchmark02.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ def run_standardized_benchmark(
avg_step_time = np.mean(step_times)
steps_per_sec = 1.0 / avg_step_time

env.close()
logger.info("Benchmark run complete. env closed. return metrics")

# System info
system_info = {
"platform": platform.platform(),
Expand Down

0 comments on commit 46870d8

Please sign in to comment.