A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-March/020600.html below:

[Python-Dev] Psyco testing results

[Python-Dev] Psyco testing results [Python-Dev] Psyco testing resultsItamar Shtull-Trauring twisted@itamarst.org
Fri, 01 Mar 2002 18:16:05 -0500
I downloaded psyco yesterday and did some tests (Python 2.1, P3/866). It 
works!

Basically, the key point is that you need to psyco.bind on the right 
functions. Doing psyco.gc() just slows things down. It takes a bit of 
testing to find out which functions to do it on.

Results:
pystone without psyco: 9000
pystone with psyco: 32000!!! (I did psyco.bind(Proc0) in psytone.py)
pystone with psyco.gc(): 4500

So pystone can speed things up by a factor of 3 on meaningless benchmarks ;)

I also got a small speedup in twisted.web - 305-320 hits/second instead 
of 275-285 hits/second, by doing psyco.bind on the function that runs 
select.select() (Twisted's equivalent of asyncore.poll()).




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4