[RFC] New feature: --batch to accept command sequences from stdin (or file)

Diwaker Gupta diwaker.lists at gmail.com
Thu Jun 22 00:13:48 BST 2006


> Originally I was more thinking the language interpreter startup time,
> which I expected to be the problem. In PII 400Mhz/512M/W2k/Cygwin this
> command
>
>    $ time python -c "exit;"
>
> takes average of 1.5 sec (real). To run 3 commands in series, it would
> take total:

Yikes! On all of my boxes, this takes roughly 100 times less. What
_is_ the configuration of your machine?

>     1.5 x 3

If you run these commands right after one another, I'm not sure the
time grows linearly. A lot of the runtime files may be available in
the file buffer cache. Disk locality might speed up further reads. I
know thats really not the problem here, but I just wanted to clarify
this particular point.

Diwaker
-- 
Web/Blog/Gallery: http://floatingsun.net/blog




More information about the bazaar mailing list