Ticket #1653 (new defect)

Opened 1 year ago

Last modified 1 month ago

Optimizing: groupblog_view.pt

Reported by: jukka Assigned to: jukka
Priority: postponed Milestone:
Component: generic Version:
Keywords: optimizing Cc:
Time spent: Time remaining:
Time planned:

Description

This page has several issues, and it is one of the most loaded pages.

Expression	Total time	Number of calls	Time per call
Total rendering time for page template	4299.87	2283	1.88343
All expressions	4043.56	1558064	0.0026
path: blogobj/getGroupMembersNamesAndUrls	1524.59	2283	0.6678
path: context/getSamples	610.45	2283	0.26739
python: here.getPosts(batch=True, b_size=b_size, b_start=b_start)	593.34	2283	0.25989
python: context.getMember(mid)	333.49	15423	0.02162
path: sample/getObject	261.13	9764	0.02674
python: post.getComments(n=True)	250.32	15423	0.01623
path: plone_view/globalize	90.63	2283	0.0397
path: post/Creator	59.24	15423	0.00384
python: blogobj.getGroupMaterials(n=True)	40.61	2283	0.01779
path: post/getLatestComment	22.79	15423	0.00148
path: post/getLatestCommentURL	19.55	11458	0.00171
python: here.portal_javascripts.getEvaluatedResources(here)	15.77	2283	0.00691
python: context.lemill_tool.getTimeDifference(post.CreationDate())	13.62	15423	0.00088
python: here.portal_css.getEvaluatedResources(here)	12.69	2283	0.00556

Change History

01/11/08 11:51:17 changed by pjotr

Darn .... we use Id to add members into group. If there was some UID, then we would be able to move it to catalog objects. That would save us a lot of time with method -> getGroupMemberNamesAndUrls.

01/14/08 12:01:36 changed by jukka

  • priority changed from critical to minor.

It is a bit better now, but let's keep it open and get more PTProfiler data. Changing slowest methods would be a big operation. (GroupMembers? to use UID:s instead of ids)

12/02/08 12:14:21 changed by pjotr

  • priority changed from minor to postponed.