Hey, I'm new to Processing. I've been playing around, but there seems to be huge CPU overhead rendering each frame.
This code uses 100% CPU, almost all of it kernel CPU: (Windows XP)
void setup(){size(640,480);frameRate(60);}
void draw(){if(frameCount0==0){println(frameRate);}}
The println() outputs ~49 fps.
It also uses 100% CPU as an application on both XP and OS X (although OS X was 15% kernel and 85% user CPU).
I have Processing 1.1 and Java 6 update 21. The XP system has
a 1.6GHz Celeron M CPU.
Why is Processing using so much processing power?
1