`git blame` on that line points to 4818583b and [#2235], which explains why 
that check is important: a project that has restricted 'read' access shouldn't 
be shown to a user (or anonymous visitor) that doesn't have that permission.


---

** [tickets:#6677] User profile's list of projects is slow to build**

**Status:** in-progress
**Labels:** performance 42cc 
**Created:** Thu Sep 19, 2013 08:20 PM UTC by Dave Brondsema
**Last Updated:** Fri Jan 03, 2014 08:36 AM UTC
**Owner:** nobody

With 54 projects, a ridiculous amount of ming & mongo calls are executed on a 
profile page:

~~~~
{
    "url": "/u/brondsem/profile/",
    "uptime": 1820,
    "call_counts": {
        "socket_write": 1,
        "jinja": 1,
        "mongo": 30396,
        "total": 1,
        "socket_read": 14,
        "ming": 1102
    },
    "request_category": "profile",
    "timings": {
        "mongo": 2618,
        "ming": 1328,
        "socket_write": 0,
        "socket_read": 93,
        "total": 4528,
        "jinja": 4478
    }
}
~~~~


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed 
to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.

Reply via email to