The following graph shows the time taken to execute an algorithm with an array size of 500 using ruby language. Graph is plotted for 5 consecutive executions.

The values for plotting the above graph is taken from the values which is produced with the help of time command.
Mon Apr 7 18:34:34 IST 2014 real 0m0.219s user 0m0.060s sys 0m0.004s real 0m0.045s user 0m0.040s sys 0m0.004s real 0m0.055s user 0m0.052s sys 0m0.000s real 0m0.056s user 0m0.052s sys 0m0.000s real 0m0.049s user 0m0.048s sys 0m0.000s