Clear the caches and buffers using:
sync; echo 3 > /proc/sys/vm/drop_caches
Otherwise, subsequent runs of your code will appear faster as more file reads are cached in memory.