On Wed, Aug 29, 2012 at 1:33 AM, Johan Corveleyn <jcor...@gmail.com> wrote:
> On Wed, Aug 29, 2012 at 1:22 AM, Johan Corveleyn <jcor...@gmail.com> wrote:
>> [[[
>> C:\Temp\svnperf>timeit svn export https://playsvn/repos export1
>> ... snip output ...
>> start: 2012-29-08 00:48:49,06
>> end  : 2012-29-08 00:53:29,07
>> total runtime: 280010 ms
>
> BTW, for who's interested, 'timeit' is the following BAT script:
>
> [[[
> @ECHO OFF
> REM oneliner: cmd /v:on /c "set
> start=!date:~9,4!-!date:~3,2!-!date:~6,2! !TIME! & THECOMMAND & echo
> start: !start! & echo einde: !date:~9,4!-!date:~3,2!-!date:~6,2!
> !TIME!"

Ouch, the above 4 lines should be on one line (one commented (REM)
line, just mentioning a technique for timing with a one-liner, without
the need for a script). Darn wrapping ...

-- 
Johan

Reply via email to