Skip to content

Commit f091be6

Browse files
committed
Print platform information in microbenchmark output.
1 parent f807d8b commit f091be6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

benchmark/microbench.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,4 +365,7 @@ def main(*benchmarks):
365365
except AttributeError:
366366
pass
367367

368+
import platform
369+
print(f"Running benchmarks with Python {platform.python_version()} on {platform.platform()}")
370+
368371
main(*sys.argv[1:])

0 commit comments

Comments
 (0)