Comments (3)
I've encountered something similar.
I got rid of all the System.out. stuff but the game still runs slowly after the first few minutes. In other words, there were no single numbers or "RunTo" errors. I've got a 'clean' log in the eclipse console:
Game table mapping not found.
Game table mapping not found.
0 | 7208 | 0 | 1127704875
1 | 0 | 0 | 0
2 | 0 | 0 | 0
3 | 0 | 0 | 0
4 | 0 | 0 | 0
5 | 0 | 0 | 0
6 | 0 | 0 | 0
7 | 0 | 0 | 0
Connected
Connection successful
Connection successful, starting match...
Waiting...
Game ready!!!
Analyzing map... Map data ready.
Disconnected
from atlantis.
runTo and system prints do not cause the big issues
2 methods cause a lot of issues:
- Select.enemy() is called a lot, whenever a combat is going on. the method will create a list of all enemy units with each call (and there may be many calls per frame, and many units to put into the list, ...)
- Select.nearestTo() and all of its internal sorting is called a lot, whenever a combat is going on
I guess buffering the data of one or both of those methods may increase performance a lot
from atlantis.
Latest Atlantis version is using caching to fix this issue. Now the only performance issues I know of are related to trying to find a place for a building and failing to do so. Even then it is quite good on my machine.
from atlantis.
Related Issues (15)
- Question: Contact information? HOT 1
- JVM Crash HOT 2
- contact
- AKeyboard HOT 1
- Exception in thread "main" java.lang.IllegalAccessError HOT 1
- Zerg & Expansions HOT 1
- ENV naming HOT 2
- Exception on running of Main HOT 5
- Static or initial files should be located in the "bwapi-data/AI/" folder not the "bwapi-data/read/" folder HOT 3
- Introduce modular approach via AtlantisModule class HOT 3
- Allow to select units behind fog of war in Select HOT 3
- Allow to select enemy building positions in Select HOT 2
- Minor: jnativehook-2.1.0.jar missing in buildpath HOT 2
- Unidentifiable log output HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atlantis.