Skip to content

Commit ccce395

Browse files
committed
Print out the benchmark results again
1 parent 63fc04d commit ccce395

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/benchmark.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,5 @@ def lookup_ip_address() -> None:
3131
setup="from __main__ import lookup_ip_address",
3232
number=args.count,
3333
)
34+
35+
print(f"{int(args.count / elapsed):,}", "lookups per second") # noqa: T201

0 commit comments

Comments
 (0)