I would prefer the HP. It has a full four core desktop processor, even if it's the low-power version (normal in an AIO) instead of a 2 core+Hyperthreading laptop version, and an SSD for the OS and more used programs, that will greatly improve your experience over a mechanical HDD