Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
floriankrb committed Dec 5, 2023
1 parent 22a163c commit c1282f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/speed-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def show(start, count, bytes=""):
bytes = bytes / (end - start)
bytes = "(" + to_human_readable_bytes(bytes) + "/second)"
print(
f"Opening {count} items took {to_human_readable(end - start)} ({(end - start) / count:.4f} seconds per item) {bytes}"
f"Opening {count} items took {to_human_readable(end - start)} ({count / (end - start) :.2f} items per second) {bytes}"
)

start = time.time()
Expand Down

0 comments on commit c1282f5

Please sign in to comment.