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