CPU time when calling external APIs
In Cloudflare pages functions, if I call an external API, does the round trip time of the request count as CPU time towards the CPU time limit? If so, can it be solved in any way?
3 Replies
?cpu-time
CPU Time: the amount of work the CPU needs to do, measured in
ms
. More CPU-heavy things will increase it (for example, hashing passwords). This is not the same as the time a fetch
request takes.
Wall Time: the actual amount of time a Worker runs for, as though you measured it with a clock or your browser DevTools@Walshy | Workers/Pages