Speed and energy consumption

Jump to navigation Jump to search
Revision as of 12 March 2013 at 21:55.
The highlighted comment was created in this revision.

Speed and energy consumption

Slow bots doing the same thing as fast bots should consume more energy (hardware power, not robot life) per battle IMHO because of longer CPU usage.

Usually, CPU is in one of two states, active or sleeping. Only sleeping state consumes less energy, and all bots, fast and slow, stay in active state all the time.

    MN21:44, 23 November 2012

    I don't really care if a robot uses a lot of time. The time allowed is already limited by the Robocode engine, and if Robocode provides the time, I don't see anything wrong with using as much of that time as you want. Of course, it is nicer when a robot runs quickly. Regardless, it is tempting to work on a way to measure the CPU usage of all the robots in the Rumble, as it would be very interesting to see.

      Skotty23:55, 12 March 2013