Re: Perfomance problem backupscript (more details and tests)
Les Mikesell <[email protected]>
| Newsgroups | gmane.comp.archivers.star.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 2005-08-30 at 08:17, Joerg Schilling wrote: > > > > time star -c -no-fifo /tmp>/dev/null > > real 0m30.325s > > user 0m0.261s > > sys 0m4.396s > > > > gun tar test > > ---------------------------------------------------------- > > wyatt:/# time tar -c /tmp>/dev/null > > real 0m1.054s > > user 0m0.212s > > sys 0m0.110s > > If you like to do a _real_ _test_ why do you compare the star time > against a dummy command? > In case this isn't clear, gnutar notices when it's output is connected to /dev/null and doesn't actually bother reading the files in that case. This is a special case to make --times work quickly for estimates like amanada uses to decide whether to do a full or incremental run. -- Les Mikesell [email protected]