Skip to content

Commit

Permalink
Reduce number of python tasks.
Browse files Browse the repository at this point in the history
Python is slow to scale in higher concurrency, so we reduce the time to
run the benchmark in the higher throughput mode.
  • Loading branch information
nihohit authored and barshaul committed Jan 3, 2024
1 parent a4532d4 commit d53cd0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/python/python_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ async def main(


def number_of_iterations(num_of_concurrent_tasks):
return min(max(100000, num_of_concurrent_tasks * 10000), 10000000)
return min(max(100000, num_of_concurrent_tasks * 10000), 5000000)


if __name__ == "__main__":
Expand Down

0 comments on commit d53cd0d

Please sign in to comment.