mirror of
https://hk.gh-proxy.com/https://github.com/wp-cli/profile-command.git
synced 2025-08-21 06:39:02 +08:00
Mention what's going on here
This commit is contained in:
parent
5dc4c74255
commit
f2c0778ef7
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ class Profile_Command {
|
|||
|
||||
foreach( $this->scope_log as $scope => $data ) {
|
||||
foreach( $data as $key => $value ) {
|
||||
// Round times to 5 decimal points
|
||||
if ( stripos( $key,'_time' ) ) {
|
||||
$this->scope_log[ $scope ][ $key ] = round( $value, 5 ) . 's';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue