Evaluation of the performance of two state-transfer Hamiltonians in the presence of static disorder