not sure i quite understand, because in your example you're basically measuring wall time, not CPU.

not sure i quite understand, because in your example you're basically measuring wall time, not CPU. Any fetches done in the worker would add up to that.
Right now I believe the only solid way of getting the CPU time is by either using a tail worker or logpush. Perhaps in the future we'll get more ways of measuring CPU time
Was this page helpful?