start measuring time before reading arguments