find_org and get_org_tree utility methods are expensive and slow down every search in a large installation
Bug #1836963 reported by
Mike Rylander
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned | ||
3.1 |
Fix Released
|
Medium
|
Unassigned | ||
3.2 |
Fix Released
|
Medium
|
Unassigned | ||
3.4 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
While looking at container UI timeouts, we discovered that, for large org trees, some several seconds are spent testing org visibility. The immediate cause is that AppUtils:
Additionally, the visibility check is making heavy use of lots of indirection and delegation to utility code, when some slightly smarter code could avoid many repeated function calls.
Branch forthcoming to address both issues.
Changed in evergreen: | |
milestone: | none → 3.3.3 |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Galen Charlton (gmc) |
Changed in evergreen: | |
milestone: | 3.3.3 → 3.3.4 |
Changed in evergreen: | |
milestone: | 3.3.4 → 3.3.5 |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Branch up at: https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ miker/lp- 1836963- get_org_ tree-and- find_org- search- optimization