Python "compiler" is too slow for processing large data files???

Wolfgang Uhl w.uhl at web.de
Thu Aug 29 19:05:28 CEST 2002


Martin Franklin <mfranklin1 at gatwick.westerngeco.slb.com> wrote in message news:<mailman.1030614584.8635.python-list at python.org>...

> 
> [scripts]$ python compiletest.py 8000 10 comp.py
> [scripts]$ time python -c "import comp"
> 8000
> 
> real    0m2.658s
> user    0m2.490s
> sys     0m0.140s
> 
> OK so I am not using Windows I am running on a 700Mh PIII laptop running
> RedHat 7.2, but even so 15 seconds sounds way to long.....

> 
> -------------------------------------------------------

Hi all,

here are the values for mac os x 10.1:

[localhost:~] wolfgang% python compiletest.py 8000 10 comp.py
[localhost:~] wolfgang% time python -c "import comp"
8000
4.620u 0.470s 0:05.28 96.4%     0+0k 0+6io 0pf+0w
[localhost:~] wolfgang%

round about 5 seconds...

Wolfgang



More information about the Python-list mailing list