[pLog-svn] A terrible truth about plugin
markplace at gmail.com
Fri Feb 1 15:03:02 EST 2008
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pLog-svn