Details
-
Type:
Sub-task
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.4.3
-
Component/s: Caching
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_24_STABLE
-
Fixed Branches:MOODLE_24_STABLE, MOODLE_25_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-39472-master -
Pull Master Diff URL:
Description
The get_from_persist_cache function could benefit from optimisations:
1) Where perfdebug is turned on (some live sites used this option), record_cache_hit takes an annoyingly long time.
2) Micro-optimisations could improve performance of the main function.
I'll give details in comments.