Improve performance of Appropriation Resolution report
Description
Environment
Confluence content
mentioned on
- https://mcoecn.atlassian.net/wiki/spaces/usasr/pages/3441966/USAS-R+v7.26.0-4+Release+Notes
- https://mcoecn.atlassian.net/wiki/spaces/usasr/pages/3441932/USAS-R+v7.25.0-13+Release+Notes
- https://mcoecn.atlassian.net/wiki/spaces/usasr/pages/3441781/USAS-R+v7.38.0-3+Release+Notes
- https://mcoecn.atlassian.net/wiki/spaces/usasr/pages/3441777/USAS-R+v7.33.0-2+Release+Notes
- https://mcoecn.atlassian.net/wiki/spaces/usasr/pages/3441748/USAS-R+v7.27.0-6+Release+Notes
- https://mcoecn.atlassian.net/wiki/spaces/usasr/pages/3441565/USAS-R+v7.36.0-4+Release+Notes
- https://mcoecn.atlassian.net/wiki/spaces/usasr/pages/3441561/USAS-R+v7.34.0-3+Release+Notes
- https://mcoecn.atlassian.net/wiki/spaces/usasr/pages/3441504/USAS-R+v7.28.0-11+Release+Notes
- https://mcoecn.atlassian.net/wiki/spaces/usasr/pages/3441307/USAS-R+v7.32.0-5+Release+Notes
- https://mcoecn.atlassian.net/wiki/spaces/usasr/pages/3441301/USAS-R+v7.31.0-8+Release+Notes
- https://mcoecn.atlassian.net/wiki/spaces/usasr/pages/3441283/USAS-R+v7.39.0-6+Release+Notes
- https://mcoecn.atlassian.net/wiki/spaces/usasr/pages/3441277/USAS-R+v7.30.0-9+Release+Notes
- https://mcoecn.atlassian.net/wiki/spaces/usasr/pages/3440978/USAS-R+v7.29.0-7+Release+Notes
- https://mcoecn.atlassian.net/wiki/spaces/usasr/pages/3440736/USAS-R+v7.35.0-20+Release+Notes
- https://mcoecn.atlassian.net/wiki/spaces/usasr/pages/3440720/USAS-R+v7.37.0-6+Release+Notes
- https://mcoecn.atlassian.net/wiki/pages/viewpage.action?pageId=3193403
- https://mcoecn.atlassian.net/wiki/pages/viewpage.action?pageId=3193815
Activity
Jason Klinger April 24, 2020 at 10:40 PMEdited
Benchmarks for metrics using current QA1 data; time in minutes
Beginning Balance: Before 4:39 After 0:07 - 99.97% improvement
Next Year Proposed: Before 1:31 After 0:04 - 99.96% improvement
FTD Appropriated, Carryover and Totals: Before 17:03 After 0:09 - 99.99% improvement
FTD Appropriated, minus Carryover: Before 11:00 After 0:07 - 99.99% improvement
Jason Klinger April 14, 2020 at 12:41 PM
Testing:
Verify that all versions of the Appropriation Resolution report run correctly.
Jason Klinger April 14, 2020 at 12:40 PMEdited
I reran the benchmarks on my local system as they were a bit longer than the docker server instances. Updated benchmarks after changes:
Beginning Balance: 5:56 -> 3:22 (43% improvement)
Next Year Proposed: 2:13 -> 2:23 (no improvement)
FTD Appropriated, Carryover and Totals: 15:03 -> 5:20 (65% improvement)
FTD Appropriated, minus Carryover: 11:17 -> 4:43 (58% improvement)
Jodi Becher March 31, 2020 at 7:01 PMEdited
Benchmarks for metrics using current QA1 data; time in minutes
Beginning Balance 4:39
Next Year Proposed 1:31 (report was empty)
FTD Appropriated, Carryover and Totals 17:03
FTD Appropriated, minus Carryover 11:00
User would like the Appropriation Resolution Report to generate in a reasonable amount of time.
Testing against
Gallia Co for 2019, report generation took between 15-19 minutes to complete.
Pickerington 2020 1 hour, option #3
To Do:
Update AppropriationResolutionDetail to not store the reference to the Appropritaion.
Change getters to properties and store the amount from the Appropriation.
Leave getFYTDAppropriation() as a getter that add the FYTDAppropriated and priorYearEncumbrance amounts.
Evaluate performance after making the above changes. Profile report creation if needed.
Jodi to Benchmark report runs and include information in comments below so we have metrics on the improvements made.
Done, see comments below.