Comparative analysis and computational optimization of potential-based multiphase lattice Boltzmann models