Sunday, June 19, 2011

Re: registering unzipped files on the local disk

Well, I run the test:

code used:

http://pastebin.com/9FNT82ym

results (second result is stream copy):

$ python2 cp.py
8.55721712112
5.28589200974

$ python2 cp.py
8.5057990551
6.55976104736

$ python2 cp.py
6.88285589218
8.86908006668

$ python2 cp.py
5.8047721386
8.57982397079

$ python2 cp.py
8.38824915886
7.2968108654

$ python2 cp.py
5.52904415131
5.24869608879

$ python2 cp.py
7.50472903252
7.09118294716

So, stream copy seams to faster most of the times, what allows us to
conclude that it is fine to use stream copy.

Regards,

Francesc


On Jun 17, 10:37 pm, Faheem Mitha <fah...@email.unc.edu> wrote:
> Hi,
>
> Can anyone help me with
>
> http://stackoverflow.com/questions/6386062/django-registering-unzippe...
>
> ?
>
> If you reply via email, please cc me. Thanks.
>
>                               Regards, Faheem.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate