mirror of
https://hk.gh-proxy.com/https://github.com/wp-cli/profile-command.git
synced 2025-08-21 06:39:02 +08:00
Merge pull request #8 from runcommand/total-first
Display the total counts first, as its more useful
This commit is contained in:
commit
d9c8323c71
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class Profile_Command {
|
||||||
'hook_time',
|
'hook_time',
|
||||||
'memory_usage',
|
'memory_usage',
|
||||||
);
|
);
|
||||||
foreach( array( 'bootstrap', 'main_query', 'template', 'total' ) as $scope ) {
|
foreach( array( 'total', 'bootstrap', 'main_query', 'template' ) as $scope ) {
|
||||||
$this->scope_log[ $scope ] = array();
|
$this->scope_log[ $scope ] = array();
|
||||||
foreach( $scope_fields as $field ) {
|
foreach( $scope_fields as $field ) {
|
||||||
if ( 'scope' === $field ) {
|
if ( 'scope' === $field ) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue