allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Luberg" <>
Subject [allura:tickets] #7566 Milestone admin page can be very slow
Date Tue, 05 Aug 2014 16:48:45 GMT
- **status**: in-progress --> code-review
- **QA**: Dave Brondsema
- **Comment**:


Search used BTreeCursor, to optimize the performance, I've replaced the find statement with
count, which is much faster. For those tickets where acl is specified, I still 'find' them.
The performance was slow, because you have to place all the ticket objects in memory and go
through every single one of them to verify acl compatibility. I am not very sure that these
acl checks are really necessary there, but to keep it backward compatible I still check for
permissions for tickets with acl specified.


** [tickets:#7566] Milestone admin page can be very slow**

**Status:** code-review
**Milestone:** forge-aug-8
**Labels:** performance 
**Created:** Fri Jul 11, 2014 04:23 PM UTC by Dave Brondsema
**Last Updated:** Tue Jul 29, 2014 10:06 PM UTC
**Owner:** Alexander Luberg in particular is getting really slow.
 I suspect its due to queries for the "Progress" column for every milestone.  Perhaps those
can be run in a single mongo query somehow, or parallelize with threads.  Or just skipped
for closed milestones.


Sent from because is subscribed to

To unsubscribe from further messages, a project admin can change settings at
 Or, if this is a mailing list, you can unsubscribe from the mailing list.
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message