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

Mark Wu markplace at gmail.com
Wed Jan 9 23:11:14 EST 2008


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