[Python-Dev] Re: Are we collecting benchmark results across machines

Guido van Rossum guido at python.org
Fri Jan 2 14:39:44 EST 2004


> > > Pystone(1.1) time for 50000 passes = 1.3762
> > > This machine benchmarks at 36331.9 pystones/second
> 
> > Can you report the parrotbench times?
> 
> I'm on windows and don't have a 'time' executable, so I created a .bat file like this:
> 
> O:\Python\parrot>type timit.bat
> echo "start"
> time < nul
> python -O b.py > xout
> echo "end"
> time < nul
> 
> It said:
> 
> start
> 14:23:54.85
> 
> end
> 14.24.10.09
> 
> 
> that's about 16 seconds

Thanks!  Foer others wanting to do the same on Windows, the latest
parrotbench distro (1.0.4) contains a program t.py that should make
this a bit easier: you can simply invoke

  python -O t.py

(The version of t.py included in 1.0.3 was faulty. :-)

--Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list