Skip to content

Commit bd59aae

Browse files
committed
Improve benchmark output
1 parent 15c7015 commit bd59aae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ def lookup_ip_address():
3030
number=args.count,
3131
)
3232

33-
print(args.count / elapsed, "lookups per second")
33+
print("{:,}".format(int(args.count / elapsed)), "lookups per second")

0 commit comments

Comments
 (0)