in reply to Re: Perl Data Transfer Rate
in thread Perl Data Transfer Rate

I have a script testing the performance and one of the requirement is to know the data transfer in the svn checkout command. I have a question how can I get it using perl. benchmark gives only the time it takes between the command start and command end. timethis was also not useful to me. I am looking for suggestions so I can improve my script.

Replies are listed 'Best First'.
Re^3: Perl Data Transfer Rate
by ikegami (Patriarch) on Nov 14, 2008 at 21:29 UTC
    Transfer rate is the time it took to perform the transfer — the difference between the results of two calls to time — divided by amount of data transfered. Using time from Time::HiRes will provide greater accuracy.