I read that using time.sleep counts against some CPU quota. I never heard of such a quota before or could find anything in the docs. Can someone enlighten me please? EDIT: Since the other questions are 8 years old and I couldnt find anything in the docs or in the Google Cloud Console (at IAM & admin, Quota), I suspect the Quota is obsolete now and a updated clarification is in order IMO.
I am unsure what you mean by CPU "quota", but sleeping a thread would not stop the instance which will still be counted in your instance uptime and thus will be charged. You can see how usage is calculated for app engine here.