Stackless python and microthreads
Christian Tismer
tismer at stackless.com
Thu May 27 18:01:35 EDT 2004
Dmitry Borisov wrote:
>>This is true. For performance comparison reasons, and to make
>>Stackless "complete" in a way, I just developed real thread support
>>and measured context switch speed. Now it is not longer a claim,
>>but the truth (going to be Stackless 3.1):
>>
>>Stackless soft-switched channels are 10 times faster than
>>using real threads.
>>
>>Stackless tasklets are 10000 times smaller than threads on Windows.
>>
>
>
> Chris,
> I was interested in measuring performance with some apps I have around here.
> I think I should recompile pygame for it as it crashes.
> Did you try pygame with stackless ? Any clue if it works ?
I think it works. I didn't test it, explicitly, but since I have
replaced the Python system dll by my Stackless one long time ago,
and I tried a nice little demo app from Armin Rigo, last time,
which was written in PyGame,
I have to conclude that PyGames seems to work.
:-)
--
Christian Tismer :^) <mailto:tismer at stackless.com>
Mission Impossible 5oftware : 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 89 09 53 34 home +49 30 802 86 56 mobile +49 173 24 18 776
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