Algorithm
It is the same for algorithms, and algorithms are better when they are easier for the computer to do.  The thing that measures the difficulty of an algorithm is called complexity.  When we ask how complex an algorithm is, often we want to know how long it will take a computer to solve the problem we want it to solve.