On Tue 30 Sep 2008 at 09:11PM, Danek Duvall wrote:
> On Tue, Sep 30, 2008 at 04:54:16PM -0700, Dan Price wrote:
> 
> > I'm slightly shocked at the lack of speedup
> 
> Once again, I was pointing to the wrong PYTHONPATH when doing the
> calculations.

You get the action item to fix actionbench and fmribench to do whatever
it is needs to be done with PYTHONPATH :)  Perhaps just printing its
value would be enough...

> The new code gives:
> 
>     action creation
>         0.323446     61834 actions/sec
>         0.322086     62095 actions/sec
>         0.322448     62025 actions/sec
>     manifest contents loading
>         1.191956      838 manifest contents loads/sec (50337 actions/sec)
>         1.191840      839 manifest contents loads/sec (50342 actions/sec)
>         1.192588      838 manifest contents loads/sec (50310 actions/sec)
> 
> so between a 67% increease and a 112% increase in speed.  So a little less
> shabby.

That's more like it :)  Hurrah!

> As for profiling, it looks like
> 
>               libpython2.4.so.1.0`PyObject_Malloc+0xb3
>               libpython2.4.so.1.0`PyString_FromStringAndSize+0xf4
>               _actions.so`_fromstr+0x56f

So, what we expected.  Hmm... well, that points to the idea of
storing some stuff in C structs, or something.

        -dp

-- 
Daniel Price - Solaris Kernel Engineering - [EMAIL PROTECTED] - blogs.sun.com/dp
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to