Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.013 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'skip:[ 20': 0.03; 'interpreter': 0.04; 'sys': 0.05; 'python': 0.09; '/dev/null': 0.09; 'subject:files': 0.09; 'thread,': 0.09; 'cc:addr:python- list': 0.10; 'relates': 0.16; 'wrote:': 0.17; 'cc:2**1': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'am,': 0.27; 'cc:addr:gmail.com': 0.27; 'cat': 0.29; 'subject:size': 0.29; "i'm": 0.29; 'up.': 0.31; 'system,': 0.32; 'compared': 0.35; 'but': 0.36; 'quite': 0.37; 'subject:: ': 0.38; 'sure': 0.38; 'shows': 0.38; 'takes': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'subject:-': 0.40; 'real': 0.61; 'header:Reply-To:1': 0.68; 'received:74.208': 0.71; 'reply-to:no real name:2**0': 0.72; 'andrea': 0.84; 'nice,': 0.84; 'subject:limited': 0.93 Date: Wed, 14 Nov 2012 11:10:47 -0500 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: andrea crotti Subject: Re: creating size-limited tar files References: <509ab0fa$0$6636$9b4e6d93@newsspool2.arcor-online.net> <509AD812.2060605@gmail.com> <87lie4lnxr.fsf@nitrogen.i-did-not-set--mail-host-address--so-tickle-me> <87fw4clg8b.fsf@nitrogen.i-did-not-set--mail-host-address--so-tickle-me> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:rMfOQGfVylUw3RBF/2+eTTUNr78f5PKd7PyAwh9A2Bp 2v5PcCyCmypSyZyX/lZtMfCPHlPB+cIzhh7QA+J9JsT3lt+hhO wwR1xEyqxk0v1nLr79rlsnQqAyakxceJq3kcU1tGbXgzywTIOx MdZOMjRY7qGsAo2yK9QGbDEQ8M8ixu1pLPa2jX4Z0zbyvyQgTb zlCBw3DjCdY8l9JQ/rqaQ5lfIcd4PPSEagi+bdfCLFTjYRWLmO yubBzz8ZVlPI2iza3bnIJecVyloioGWo9hdKfnJimzubAnAg6v BhGnd6nNqvu7WS6ncCCG6gPSq0Y8ENb1LexHOOOnellwKiuSA= = Cc: Python X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: d@davea.name List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 29 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1352909479 news.xs4all.nl 6845 [2001:888:2000:d::a6]:60211 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:33344 On 11/14/2012 10:56 AM, andrea crotti wrote: > Ok this is all very nice, but: > > [andrea@andreacrotti tar_baller]$ time python2 test_pipe.py > /dev/null > > real 0m21.215s > user 0m0.750s > sys 0m1.703s > > [andrea@andreacrotti tar_baller]$ time ls -lR /home/andrea | cat > /dev/null > > real 0m0.986s > user 0m0.413s > sys 0m0.600s > > > > > So apparently it's way slower than using this system, is this normal? I'm not sure how this timing relates to the thread, but what it mainly shows is that starting up the Python interpreter takes quite a while, compared to not starting it up. -- DaveA