stat.walkOneCm increases at the same pace when sneaking,walking or sprinting with speed potions. It rises at the same pace whenever you travel without hitting obstacles.
Your velocity does not matter for the amount of increase. Even though you go faster it still counts 0.2m/s
Related issues
Comments
This ticket is incomplete, please open a new ticket and provide details about the issue you are experiencing using the Bug Report Guidelines Here.

This ticket has been marked as a duplicate of MC-39139, in favor of the more general or better information provided.
Steps to reproduce?