I want to measure time taken by individual curl command and also total time taken by set of curl commands running in parallel, However I could see mismatch between these two numbers as follows
time seq 2 | parallel -n0 "curl -o /dev/null -s -w %{time_total}\\n -x http://mywebsite"
I could see following output curl 1- 1.828647 curl 2- 1.894729 total time printed by 'time' real 0m2.034s user 0m0.267s sys 0m0.332s
if I add up curl 1 and curl 2 times is not equal to 'real' time printed by 'time' command. could you explain why they are not same?