Sunday, February 6, 2011

Benchmarking a system command

time for((n=0;n<100;n++)); do convert CIMG0022.jpg -rotate 90 CIMG0022_90.jpg; done


real 0m42.438s
user 0m33.934s
sys 0m8.424s

Avg run time: ~ 424ms

No comments: