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
Walshy
Walshy3mo ago
?cpu-time
SuperHelpflare
SuperHelpflare3mo ago
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
Florencia
Florencia3mo ago
@Walshy | Workers/Pages

Did you find this page helpful?