Skip to content

Commit

Permalink
Fix bench
Browse files Browse the repository at this point in the history
  • Loading branch information
QuangTung97 committed Dec 1, 2023
1 parent 65b93b7 commit 156f583
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/proxy/test_proxy_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def test_run_benchmark_proxy(self) -> None:

duration = time.perf_counter_ns() - start

print(f'\nAVG PROXY ITEM DURATION: {(duration / num_loops) / 1000.0}us')
print(f'\nAVG PROXY ITEM DURATION: {(duration / num_loops) / 1000.0}us, Loops: {num_loops}')


NUM_KEYS = 100
Expand Down Expand Up @@ -169,7 +169,7 @@ def run_multi_get(self) -> None:

def test_run_benchmark_proxy(self) -> None:
# 405.9151384 us => 382.4579183us => 423.74484309999997us => 782.8339115us
num_loops = get_num_loops(10000)
num_loops = get_num_loops(200)

start = time.perf_counter_ns()

Expand Down

0 comments on commit 156f583

Please sign in to comment.