I used to cover 4 km in 5-10 minutes to school everyday on my moutain bike. Used to leave exactly at 6:55 when school starts at 7:05.
If I went slow, I would have definitely missed the class, this forced me to ride as fast as I could.
It definitely enhanced my cognitive skills.