On Fri, Apr 24, 2009 at 1:18 PM, Phoenix Sol <[email protected]> wrote:
> So I attempted to measure the memory overhead of a Stackless tasklet, with
> 'Recipe 286222' from ActiveState's Cookbook:
> (on Linux 2.6.27-11-generic SMP x86_64)
>
> def empty(): pass
> b4 = memory()
> print "before:", b4
> t = stackless.tasklet(empty)()
> after = memory()
> print "after:", after
> print "difference:", memory(b4)
>
> Which yields:
>     difference: 4096.0

I think that the likelihood of a tasklet being 4k exactly in size
infers that your measurement approach is faulty.

Cheers,
Richard.

_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless

Reply via email to