=?gb2312?B?tPC4tDogtPC4tDogW3BMb2ctc3ZuXSByMjQ2OCAtIGluIHBsb2cvdA==?= =?gb2312?B?cnVuay9jbGFzczogYWN0aW9uIGJheWVzaWFuY2FjaGVjYWNoZS9DYQ==?= =?gb2312?B?Y2hlX0xpdGUgY29uZmlnIGNvbnRyb2xsZXIgZGFvZGFvL2N1c3RvbQ==?= =?gb2312?B?ZmllbGRzZGFvL3N0YXR1cyBkYXRhIGRhdGEvZm9ybXMgZGF0YS9wYQ==?= =?gb2312?B?Z2VyZGF0YS92YWxpZGF0b3IgZGF0YWJhc2VkYXRhYmFzZS9wZGIgZA==?= =?gb2312?B?YXRhYmFzZS9wZGIvZGF0YWRpY3RkYXRhYmFzZS9wZGIvZHJpdmVycw==?= =?gb2312?B?IGZpbGVmaWxlL2ZpbmRlciBmaQ==?=

subaochen subaochen at 126.com
Thu Sep 15 06:51:03 GMT 2005


 Then you mean, removing object class will reduce memory useage by about =
8M?
That's great! If it is true, I totally agree with you:-)

Su Baochen=20

> -----=D3=CA=BC=FE=D4=AD=BC=FE-----
> =B7=A2=BC=FE=C8=CB: plog-svn-bounces at devel.plogworld.net=20
> [mailto:plog-svn-bounces at devel.plogworld.net] =B4=FA=B1=ED Oscar =
Renalias
> =B7=A2=CB=CD=CA=B1=BC=E4: 2005=C4=EA9=D4=C215=C8=D5 14:17
> =CA=D5=BC=FE=C8=CB: plog-svn at devel.plogworld.net
> =D6=F7=CC=E2: Re: =B4=F0=B8=B4: [pLog-svn] r2468 - in =
plog/trunk/class: action=20
> bayesiancachecache/Cache_Lite config controller=20
> daodao/customfieldsdao/status data data/forms=20
> data/pagerdata/validator databasedatabase/pdb=20
> database/pdb/datadictdatabase/pdb/drivers filefile/finder fi
>=20
> I wouldn't have removed the Object hierarchy if it wasn't=20
> because the gains were quite impressive. And this time it=20
> wasn't so much a performance improvement but a memory usage=20
> improvement... many people feel uncomfortable with a php=20
> application requiring 12 or 16mb to run and going from that=20
> situation to only requiring 4 or 5mb is good, I think,=20
> specially for big and busy sites: if they are getting 50=20
> visit per second, now plog only needs 50x5 (250) instead of=20
> 50x16 (800!) mb of memory!!
>=20
> Oscar
>=20
> On 15 Sep 2005, at 04:54, subaochen wrote:
>=20
> > Removing object class will dramatically  improve performance?
> >
> > I think removing object class only reduce a little memeory=20
> useage, but=20
> > you know, eaccelerator or similiar tools will do that. I=20
> have tested=20
> > eaccelerator, except for first visiting your page, memeory=20
> useage only=20
> > 2M or so.
> >
> > I think the most important aspect of performance is tunning=20
> database=20
> > and dao classes. For example, when we retrive all blogs or=20
> all users=20
> > and create a select list in admin interface, how dou you=20
> think about=20
> > when you have more than 10000 memeber?
> >
> > Just 2 cents:-)
> >
> > Su Baochen
>=20
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-svn
>=20
>=20






More information about the pLog-svn mailing list