I've found showconsolemessage to be a bit slow. Maybe try recording the system time in millis and compare against the times from previous invocations of run(). Then print out the average time delta every ~100th time so you don't have to call showconsolemessage as much.
|