[pLog-svn] A terrible truth about plugin

Mark Wu markplace at gmail.com
Fri Feb 1 14:57:56 EST 2008


Another thing I forgot to say. This is the testing result of 2.0.

Mark

> -----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



More information about the pLog-svn mailing list