Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

...

  1. display time next to shown executed database queries in "*Time*: NNm MMs" format
  2. 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
  3. show executed revision name/number in the log like as on screen

Solution

In the "\DeploymentHelper::applyRevisions" method:

  1. measure each database query execution time
  2. display time next to shown executed database queries in "*Time*: NNm MMs" format
  3. 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
  4. show executed revision name/number in the log like as on screen

Related Tasks

Jira Legacy
serverSystem Jira
serverId513b375f-8291-3313-9d9f-704c39b1f915
keyINP-1794