[pLog-svn] Three libraries I want to replace in LifeType 2.0

Mark Wu markplace at gmail.com
Thu Jan 10 00:04:17 EST 2008


Hi All:

I do another test with normal feed (15 items only) , the results is totally
different in first time fetch:
I use my personal blog feed:
http://blog.markplace.net/rss.php?blogId=1&profile=rss20

SimplePie(first time):
Time: 1.25598 secs
Peak Memory Usage: 640072 bytes

MagpieRSS(first time):
Time: 1.295425 secs
Peak Memory Usage: 1158768 bytes

SimplePie(second time with cache):
Time: 0.005092 secs
Peak Memory Usage: 483192 bytes

MagpieRSS(second time with cache):
Time: 0 0.006621 secs
Peak Memory Usage: 176224 bytes

wow ...... I really think "maybe" we can switch to SImplePie, the result is
very promising.

Mark

> -----Original Message-----
> From: Mark Wu [mailto:markplace at gmail.com] 
> Sent: Thursday, January 10, 2008 12:39 PM
> To: 'Mark Wu'; 'LifeType Developer List'
> Subject: RE: [pLog-svn] Three libraries I want to replace in 
> LifeType 2.0
> 
> I also post the results in simplepie forum, wish them can 
> give me some ideas to reduce the memory usage.
> 
> http://simplepie.org/support/viewtopic.php?pid=4905#p4905
> 
> Mark 
> 
> > -----Original Message-----
> > From: Mark Wu [mailto:markplace at gmail.com]
> > Sent: Thursday, January 10, 2008 12:11 PM
> > To: 'LifeType Developer List'
> > Subject: RE: [pLog-svn] Three libraries I want to replace 
> in LifeType 
> > 2.0
> > 
> > Okay, I think we can give up simplepie ...
> > 
> > The performance is good, but memory usage is not so good. In a 500 
> > items feed testing:
> > 
> > simplepie(first time):
> > Time: 7.50597secs
> > Peak Memory Usage: 6667456 bytes
> > 
> > MagpieRSS(first time):
> > Time: 17.103986 secs
> > Peak Memory Usage: 2298320 bytes
> > 
> > simplepie(second time with cache):
> > Time: 0.027497 secs
> > Peak Memory Usage: 4367264 bytes
> > 
> > MagpieRSS(second time with cache):
> > Time: 0.00862 secs
> > Peak Memory Usage: 1910264 bytes
> > 
> > ** The version of MagpieRSS is 0.72 and version of SimplePie is 1.1
> > 
> > Mark
> > 
> > > -----Original Message-----
> > > From: plog-svn-bounces at devel.lifetype.net
> > > [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of Oscar 
> > > Renalias
> > > Sent: Wednesday, January 09, 2008 4:19 PM
> > > To: LifeType Developer List
> > > Subject: Re: [pLog-svn] Three libraries I want to replace
> > in LifeType
> > > 2.0
> > > 
> > > In that case we might also need to do some memory usage 
> comparisons 
> > > here too.
> > > 
> > > Oscar
> > > 
> > > On Jan 9, 2008 10:16 AM, Jon Daley
> > > <plogworld at jon.limedaley.com> wrote:
> > > > On Wed, 9 Jan 2008, Mark Wu wrote:
> > > > > 3. MagpieRSS -> SimplePie
> > > > > SimplePie support all kind of RSS & ATOM spec. Why switch to 
> > > > > SimplePie, the reason is the same as Kses, becasue
> > magpierss does
> > > > > not maintained for  a long time.
> > > >
> > > >
> > > > I don't know anything about it, but a friend (who is
> > currently using
> > > > magpie) says this:
> > > >
> > > >
> > > > ---------- Forwarded message ----------
> > > > Date: Wed, 9 Jan 2008 02:06:12 -0600
> > > > From: Glen Stansberry
> > > > To: Jon Daley
> > > > Subject: Re: [pLog-svn] Three libraries I want to replace
> > > in LifeType
> > > > 2.0
> > > > (fwd)
> > > >
> > > > That's very true. HOWEVER, SimplePie is still a beta, and a
> > > resource
> > > > hog at that. Until it becomes a little sleeker, I'm not too
> > > interested.
> > > >
> > > > Update:  Just checked out SimplePie's site (simplepie.org),
> > > and they
> > > > just had a major release and fixed some php memory leaks. 
> > A little
> > > > more interested, but not too eager...
> > > >
> > > > On Jan 8, 2008 10:07 PM, Jon Daley wrote:
> > > > >        You said something about simplepie before didn't
> > > you - that
> > > > > it doesn't work as well or something?
> > > >
> > > > _______________________________________________
> > > > pLog-svn mailing list
> > > > pLog-svn at devel.lifetype.net
> > > > http://limedaley.com/mailman/listinfo/plog-svn
> > > >
> > > _______________________________________________
> > > 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