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