Bug 1375316

Summary: Memoize image_path helper in build_tags_tree
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: PerformanceAssignee: Nick LaMuro <nlamuro>
Status: CLOSED CURRENTRELEASE QA Contact: Pradeep Kumar Surisetty <psuriset>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.6.0CC: jhardy, mshriver, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.7.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1376140 (view as bug list) Environment:
Last Closed: 2016-12-20 00:55:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1376140    

Description John Prause 2016-09-12 17:23:02 UTC
Improves the load time of the /miq_request/show/:id route for databases with a large number of Tags (over 10k).

Comment 2 John Prause 2016-09-12 17:23:53 UTC
https://github.com/ManageIQ/manageiq/pull/10181

Comment 5 Mike Shriver 2016-12-19 19:19:11 UTC
Tested against CFME: 5.7.0.16.20161213213754_1ad3545

Configured >10000 tags in the database and queried the /miq_requests/show/:id URI, loading the page in <4 seconds.

This matches the performance characteristics detailed in MIQ PR 10181 (https://github.com/ManageIQ/manageiq/pull/10181)