[Stackless] Memory footprint for tasklets and channels

Bob Ippolito bob at redivi.com
Fri Mar 17 19:50:45 CET 2006


On Mar 16, 2006, at 10:48 PM, Johan Carlsson wrote:

> Bob Ippolito wrote:
>
> Thanks Bob :-)
>
>>> Anyway, to the question:
>>>
>>> How much memory footprint does the different parts of Stackless  
>>> take.
>>> E.g. a Tasklet, a Channel, the Scheduler and any queues etc...
>> Not much more than any other object in Python.
>
> Any idea how much that is or even better how to measure that?

Does really matter?  It's pretty small, a couple bytes.  Read the  
headers...

>>> Is there a limit for how many of this thing you can create other  
>>> than
>>> memory? I'm assuming a halted tasklet doesn't consume any processor
>>> power at all.
>> There isn't any limit, and tasklets certainly don't consume  
>> anything  but RAM when they're not running (how could they?).
>
> Any idea how much processing overhead does the channels add?

Channels hardly do anything at all.  Either way, you'd need something  
to compare it to in order to say what the "overhead" is.

-bob


_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless



More information about the Stackless mailing list