I use Cardio Trainer. It's supposed to be for doing proper workouts and stuff but I've used it for both running and on the MTB and it tracks your route, gives speed, distance, time, elevation and stuff which you can save in the history and compare with future rides to see how you're doing. And it's free. Would definitely recommend giving it a go.