Skip to content

Commit

Permalink
Improve benchmark output
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Dec 7, 2023
1 parent 15c7015 commit d1f0dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ def lookup_ip_address():
number=args.count,
)

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

0 comments on commit d1f0dac

Please sign in to comment.