Overview
When loading Special:CheckUser, a not insignificant time is taken up by calling these methods. Around 18% to 12% of the request time is taken up by these methods combined. Some performance gain may be found when caching the results of these methods, as these methods (should) produce the same result for a given user.
Placing the calls to these methods in ::preprocessResults would allow a similar method to how the revision comments are formatted for edits.
Acceptance criteria
- The call to Linker::userLink should be cached per-user by CheckUserGetEditsPager
- The call to Linker::userToolLinksRedContribs should be cached per-user by CheckUserGetEditsPager
- Some performance increase should be seen due to the caching (otherwise, this should not be done).