profile-command icon indicating copy to clipboard operation
profile-command copied to clipboard

Introduce `wp profile cache`

Open danielbachhuber opened this issue 9 years ago • 0 comments

We can overload the $wp_object_cache global with our own object in order to monitor which cache keys are being fetched and written.

We could also introduce a --cache flag or similar to wp profile eval-file for the user to see all of the cache keys being hit in a given profile. In this example, it would be helpful to know why the cache usage is so high.

danielbachhuber avatar Jan 03 '17 21:01 danielbachhuber