Closes #7894: Improve Rocket Insights time to get score - phase 2#7915
Conversation
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesFootnotes
|
…time-to-get-score
wordpressfan
left a comment
There was a problem hiding this comment.
Minor changes/questions.
I really like the PR description that it contains how time is enhanced here, good job Boss.
|
Thank you, @jeawhanlee, for this PR. Sharing the new timings using this PR compared against results from phase 1 PR results:
Overall improvement: 61.7s → 44.85s = 16.85s faster on average. Notes:
Shared results also on slack thread. |
hanna-meda
left a comment
There was a problem hiding this comment.
QA Done. PR is looking good and all NRT in TP have passed.
testrail-report-791.pdf
Description
Fixes #7894
Improved the time to get score by reducing async wait time.
Type of change
Detailed scenario
What was tested
Cut down the time taken for RI score to be displayed after submission.
Total time taken for RI task on develop

Total time taken for RI task with current PR

How to test
Technical description
Documentation
Bypass Async queue and schedule single task to process job in an estimated time in the future.
WP_Rocket\Engine\Common\JobManager\Queue\Queuewith the same hook name being shared withadd_job_status_check_asyncmethodQueueinstance in Rest Class and called this new method directlyhandle_sync_submissionmethodFallback
WIP
New dependencies
N/A
Risks
N/A
Mandatory Checklist
Code validation
Code style
Unticked items justification
Not applicable to the changes in this PR.
Additional Checks