compare serial and parallel