Log the request loading time

Hello !

I’m using a Worker script to add all access of a site to a log file following the instructions here: https://blog.cloudflare.com/logs-from-the-edge/

It works very well but I wonder if there’s a way to also add the request loading time (or response time).
In fact since we have the status code and the HTML content, I think it’s possible to get this information but I don’t see clearly how.

If you have any info, it can help me a lot! :crossed_fingers: