Is millis() heavy on CPU program efficiency?

Hello,

I can’t comment on efficiency…

In Processing I have used frameCount:

I do not know how stable the frameRate is using P5.js on an Android.
Your mileage may vary depending on what you’re sketch is doing; I often monitor frameRate to see if sketch is slowing things down and work to optimize code.

:)

2 Likes