[pLog-svn] A terrible truth about plugin

Mark Wu markplace at gmail.com
Fri Feb 1 15:10:24 EST 2008

Another truth. XML_Tree seems use the PHP build in XML parser based on
expat. Then, I have no idea will it get better if we change to simplexml. :(


From: Mark Wu [mailto:markplace at gmail.com] 
Sent: Saturday, February 02, 2008 4:03 AM
To: 'LifeType Developer List'
Subject: RE: [pLog-svn] A terrible truth about plugin

I just check the profile result. Here comes another truth.

Even I remove menu entries setting in plugins, it also take 80ms to render
the core menu.xml.


> -----Original Message-----
> From: plog-svn-bounces at devel.lifetype.net
> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of Jon Daley
> Sent: Saturday, February 02, 2008 3:54 AM
> To: LifeType Developer List
> Subject: Re: [pLog-svn] A terrible truth about plugin
> On Sat, 2 Feb 2008, Mark Wu wrote:
> > For my #1 test , my anti virus program still turned on. It
> really annoying.
>       Ah, that makes sense.
> > It might help to get the plugin menu entries put into
> menu.xml and put
> > the plugin locales into core locale files..... they just
> save at least
> > 200ms in each request. Not bad :)
>       I suppose that is why some other programs have their
> plugins do just that - directly edit core files, etc.  And
> then it is just about impossible to uninstall stuff.  I
> really like our setup where everything is clearly separated. 
> The include thing for the locale makes sense, though I don't
> have a feel for how that will affect the performance.
>       I'd rather look into a different XML parser, or perhaps
> changing the plugin api to make all of the menu additions
> happen at once (maybe a callback sort of thing?) rather than
> multiple passes through the table.
> > For index page, I think it is not a serious problem,
> because we have a
> > very good page cache here.
>       Yes.  I have wondered about having a cache on the admin
> side too.
> I had similar results with squid that Ayalon had with varnish
> that you can't blindly cache everything.  But, it seems that
> we should be able to do a decent job from inside.
>       By the way, you are testing 1.2.6, and not 2.0, right? 
> You might try looking at 2.0 and see if there is any
> interesting differences.
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://limedaley.com/pipermail/plog-svn/attachments/20080202/11cc3201/attachment.htm 

More information about the pLog-svn mailing list