enowars / EnoEngine

MIT License
12 stars 2 forks source link

Score calculation is too slow #184

Open ldruschk opened 3 months ago

ldruschk commented 3 months ago
Phase 2 done in 3034ms Phase 3 done in 23025ms Phase 4 done in 2083ms info: EnoEngine.EnoEngine[0]       UpdateScores took 28150ms info: EnoEngine.EnoEngine[0]       Attack Info Generation Took 933 ms info: EnoDatabase.EnoDb[0]       GetCurrentScoreboard Started Scoreboard Generation info: EnoDatabase.EnoDb[0]       GetCurrentScoreboard Fetched teams after: 43ms info: EnoDatabase.EnoDb[0]       GetCurrentScoreboard Fetched round after: 52ms info: EnoDatabase.EnoDb[0]       GetCurrentScoreboard Fetched services after: 62ms info: EnoDatabase.EnoDb[0]       GetCurrentScoreboard Iterated services after: 184ms info: EnoDatabase.EnoDb[0]       GetCurrentScoreboard Iterated teams after: 184ms info: EnoDatabase.EnoDb[0]       GetCurrentScoreboard Finished after: 184ms info: EnoEngine.EnoEngine[0]       Scoreboard Generation Took 191 ms Phase 2 done in 3631ms Phase 3 done in 25327ms Phase 4 done in 2116ms info: EnoEngine.EnoEngine[0]       UpdateScores took 31087ms info: EnoEngine.EnoEngine[0]       Attack Info Generation Took 1046 ms info: EnoDatabase.EnoDb[0]       GetCurrentScoreboard Started Scoreboard Generation info: EnoDatabase.EnoDb[0]       GetCurrentScoreboard Fetched teams after: 26ms info: EnoDatabase.EnoDb[0]       GetCurrentScoreboard Fetched round after: 34ms info: EnoDatabase.EnoDb[0]       GetCurrentScoreboard Fetched services after: 38ms info: EnoDatabase.EnoDb[0]       GetCurrentScoreboard Iterated services after: 248ms info: EnoDatabase.EnoDb[0]       GetCurrentScoreboard Iterated teams after: 248ms info: EnoDatabase.EnoDb[0]       GetCurrentScoreboard Finished after: 248ms info: EnoEngine.EnoEngine[0]       Scoreboard Generation Took 299 ms

@Trolldemorted