The speed of an algorithm is measured in terms of number of basic operations it performs.
Consider an algorithm that takes N as input and performs various operations.
The corelation between number of operations performed and time taken to complete is as follows-
( consider N as 1,000 and speed