Improve performance of fasta benchmark