% cat run for i in {1..$1} do cpu-intensive-task & done wait % for t in 100 200 300; do time run $t; done # and plot the results