ANN: psyco V2

Christian Tismer tismer at stackless.com
Thu Jul 23 13:06:43 EDT 2009


On 7/17/09 4:11 AM, Bearophile wrote:
> Very good, thank you. I'll try it when I can.
>
> Is Psyco3 going to borrow/steal some ideas/code from Unladen Swallow?

Psyco3: nice typo! :-)

Well, I haven't so far found a new idea there that I'd want
to borrow and did not know from PyPy, before.
Wasn't the project plan saying the opposite, borrowing
some ideas from psyco? :-)
http://code.google.com/p/unladen-swallow/wiki/ProjectPlan

> The problem I have with Psyco1.6 is that you can't use the normal
> profilers to know how much seconds of running time is taken by each
> function/method of your code.

Yes, the profiler hooks are not useful with psyco. You need
to write extra functions for timing, as we do in the benchmark
directory.

> Psyco1.6 has a profile() function, but I am not much able to use it
> yet.

The profile() function is used for profile driven compilation,
as opposed to psyco.full(). This will go away, pretty soon.
Psyco will only be switched on or off.

Maybe I will add an option for profiling the compiled code.
Interesting idea!

cheers - chris

-- 
Christian Tismer             :^)   <mailto:tismer at stackless.com>
tismerysoft GmbH             :     Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9A     :    *Starship* http://starship.python.net/
14109 Berlin                 :     PGP key -> http://wwwkeys.pgp.net/
work +49 30 802 86 56  mobile +49 173 24 18 776  fax +49 30 80 90 57 05
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
       whom do you want to sponsor today?   http://www.stackless.com/



More information about the Python-list mailing list