...
No Format |
---|
Deploying Module "Custom":
Verifying Database Revisions ... OK
Upgrading Database ...
# r1: Initial Project Task (#TASK_ID)
SELECT Name FROM `52x_Modules` ... OK (7)
# r2: Another Task (#TASK_ID2)
select sleep(3) ... OK (1)
*Time*: 3s
SELECT Version FROM `52x_Modules` ... OK (7)
Importing LanguagePack ... OK
Done with Module "Custom".
Resetting Configs Files Cache and Parsed System Data ... OK
Resetting Admin Console Sections ... OK
Resetting ModRewrite Cache ... OK
Refreshing Theme Files ... OK
Dumping Assets ... OK |
...
- display time next to shown executed database queries in "
*Time*: NNm MMs
" format - display time next to shown logged database queries in "
Duration: NNm MMs (from YYYY-MM-DD HH:MM:SS to YYYY-MM-DD HH:MM:SS)
" format - show executed revision name/number in the log like as on screen
Solution
In the "\DeploymentHelper::applyRevisions" method:
- measure each database query execution time
- display time next to shown executed database queries in "
*Time*: NNm MMs
" format - display time next to shown logged database queries in "
Duration: NNm MMs (from YYYY-MM-DD HH:MM:SS to YYYY-MM-DD HH:MM:SS)
" format - show executed revision name/number in the log like as on screen
Related Tasks
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|