The same distance is covered by players during a snooker match. The reason is that, even though goalies (and snooker players) don’t sprint, they move a lot, goalies constantly changing position from one post to the other (and often rushing out too) and snooker players constantly walking around the table for a better angle.
I am not sure how the distances are determined, I assume there are special devices that calculate average distances covered, but in any case in many matches you can see this statistic at the bottom of the screen when a player is substituted.