jerry871002 / stat-api-server

0 stars 0 forks source link

Use Go routine to speed up the simulation #5

Closed jerry871002 closed 3 months ago

jerry871002 commented 3 months ago

Goal: simulate 10000 games in under 1 second

jerry871002 commented 3 months ago

The problem was that logging was taking too long. The solution was only to print debug messages if debug mode was turned on.