Python IO performance?

Irmen de Jong irmen at -NOSPAM-REMOVETHIS-xs4all.nl
Sat May 31 18:33:19 EDT 2003


Cousin Stanley wrote:
> Chad ...
> 
> Thanks for posting the  < Perl | Python >  file IO comparisons ...
> 
> A transposed info matrix might be useful for summarizing ...
> 
>                             real           user           sys
> 
> perl       mycat.pl ..... 0m1.233s ..... 0m1.090s ..... 0m0.020s
> python     mycat.py ..... 0m11.327s .... 0m11.160s .... 0m0.050s
> python2.3  mycat.py ..... 0m8.420s ..... 0m8.250s ..... 0m0.050s
> 
> python     mycat2.py .... 0m4.014s ..... 0m3.860s ..... 0m0.030s
> python2.3  mycat2.py .... 0m2.757s ..... 0m2.590s ..... 0m0.040s
> 


There's lies, great lies, and statistics.... and benchmarks.

--Irmen





More information about the Python-list mailing list