Difference between revisions of "User talk:Icehawk78"
Skilgannon (talk | contribs) (fast bots vs slow bots) |
|||
Line 7: | Line 7: | ||
No, the main Robocode application is what's running slowly for me. I suppose it's possible that there's something wonky about my Java installation, but when I minimize the main window, on my Windows machine, it cranks through ~100-200 rounds in about a minute or two, whereas it's taking upwards of 15-30 seconds for a new round to initialize. --[[User:Icehawk78|Icehawk78]] 17:23, 27 September 2010 (UTC) | No, the main Robocode application is what's running slowly for me. I suppose it's possible that there's something wonky about my Java installation, but when I minimize the main window, on my Windows machine, it cranks through ~100-200 rounds in about a minute or two, whereas it's taking upwards of 15-30 seconds for a new round to initialize. --[[User:Icehawk78|Icehawk78]] 17:23, 27 September 2010 (UTC) | ||
+ | |||
+ | Well, it makes a big difference which bot you use. Put 2 bots which are light on CPU (eg sample bots), and you can get through a few hundred rounds in minutes. Put DrussGT vs. Diamond and it takes about 5 minutes per 35 rounds on my old-ish P4. Beyond that, maybe try a newer Ubuntu? And make sure that it is running on the Sun java by going to a command line and typing <code>java -v</code> I didn't have any problems when I was using 9.04... --[[User:Skilgannon|Skilgannon]] 09:01, 28 September 2010 (UTC) |
Revision as of 10:01, 28 September 2010
Since I'm new, I've had a few questions.
I'm running my code primarily on Linux, and I've noticed that the speedup code (to simulate a large number of battles very quickly) doesn't appear to work on Linux. Is this a known issue, or is there some sort of workaround? I'm running a fresh install of Sun's Java on Ubuntu 9.04.
I'm not sure which code you're talking about. Do you mean RoboResearch? I also run linux (Ubuntu 10.4), and Robocode runs fine on my system, as does RoboResearch... --Skilgannon 11:45, 27 September 2010 (UTC)
No, the main Robocode application is what's running slowly for me. I suppose it's possible that there's something wonky about my Java installation, but when I minimize the main window, on my Windows machine, it cranks through ~100-200 rounds in about a minute or two, whereas it's taking upwards of 15-30 seconds for a new round to initialize. --Icehawk78 17:23, 27 September 2010 (UTC)
Well, it makes a big difference which bot you use. Put 2 bots which are light on CPU (eg sample bots), and you can get through a few hundred rounds in minutes. Put DrussGT vs. Diamond and it takes about 5 minutes per 35 rounds on my old-ish P4. Beyond that, maybe try a newer Ubuntu? And make sure that it is running on the Sun java by going to a command line and typing java -v
I didn't have any problems when I was using 9.04... --Skilgannon 09:01, 28 September 2010 (UTC)