I'm trying to measure the speed of the load time of an image (how long it actually takes the image to fully load at full resolution on a user's browser).

I was wondering if the Performance Resource Timing in the window.performance JavaScript was good for doing this, if you recommend it, or if you recommend something else (also preferably JavaScript because I'd like this to be browser-only as I'd like people to test it from different locations as well).