This article explains how to run a ping test on a Mac and save it to a file so you can pass the file onto another person or to your ISP. It was originally written for people living in Australia, but will work fine for anyone anywhere around the world (just replace pacific.net.au for another website that’s closer to you).
Also note that this information only applies to Mac computers and will not work on a Windows machine.