A higher clock speed (measured in hertz) means that the computer performs more tasks each second and so a program will run faster. Also, the greater the number of cores the machine has, the more operations can run at the same time, meaning that the computer will run faster.