Why did you use -l for the ls? This certainly made it slower because it had to stat every file it found. Also ls could be aliased in your shell to something funky (like one that uses different colours for differerent file types) so for a fair comparison do