Profile rendering can be slow
Reported by Michael Hartl | May 24th, 2008 @ 11:45 AM | in Foundations
My profile takes a while to render. I think unpacking all the partials is the problem; we need to profile it.
Comments and changes to this ticket
-
Michael Hartl June 17th, 2008 @ 04:56 PM
- → Milestone changed from to Foundations
- → Assigned user changed from to Michael Hartl
Markdown might be the bottleneck. Take a look at Moving Past Bluecloth.
-
Michael Hartl July 30th, 2008 @ 03:38 PM
- → Tag changed from to enhancement performance
It looks like there's no low-hanging fruit. Markdown isn't the bottleneck. It just takes a while to render the walls and recent activities. Caching those is impractical since they have a time_ago_in_words for the created_at, which isn't cacheable since it's updated on literally every page view. For a system under very heavy load, we could use memcache with a periodic cache expiry, but it's not worth the trouble right now.
Since the current performance isn't horrible, I think it's best to punt on this for now. Maybe if a user runs into problems with bigger traffic we can work together to speed things up.
-
Michael Hartl July 30th, 2008 @ 03:38 PM
- → State changed from new to resolved
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
