mirror of
https://hk.gh-proxy.com/https://github.com/wp-cli/profile-command.git
synced 2025-08-21 06:39:02 +08:00
Don't render a cache ratio when there were no hits or misses
This commit is contained in:
parent
ebe058c208
commit
3697235ff7
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ class Logger {
|
|||
public $query_time = 0;
|
||||
public $cache_hits = 0;
|
||||
public $cache_misses = 0;
|
||||
public $cache_ratio = 0;
|
||||
public $cache_ratio = null;
|
||||
public $hook_count = 0;
|
||||
public $hook_time = 0;
|
||||
public $request_count = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue