I'm not sure, but if you are running it on a unix box you could just alter your command to look like this:
date; mysql databasename < queries.sql > results.txt; date
This will print a date/time string before and after your command that looks like:
Fri Jan 19 09:10:57 PST 2001
But that's not really what you want to do. You don't want to judge your queries efectiveness on the time it takes it to run since that is completely dependant on the data. What you should do is run your queries through your database EXPLAIN operator. This operator will parse your query and tell you everything that the database is doing to make it happen, so you can track down where you aren't using Indexes, or where you need to add them.
For MySQL checkout: http://www.mysql.com/doc/E/X/EXPLAIN.html