add timing function, fix the bug of finding hits of predicted proteins