What does the negative number of XHProf analysis results mean?

Source: Internet
Author: User
The negative number of XHProf analysis results indicates what it means. in order to test the performance of what I wrote today, the results of XHProf make me unable to understand, and actually Excl. memUse (bytes) (the memory of the function execution itself) results in negative numbers. I don't know what it means.


Reply to discussion (solution)

Is there anyone? For help

Isn't your Excl. Memuse empty when reading the cache?
In this way, there seems to be nothing wrong with memory usage.

Isn't your Excl. Memuse empty when reading the cache?
In this way, there seems to be nothing wrong with memory usage.
Can you elaborate on white points? I still don't quite understand what you mean!

Can I understand that the negative number indicates that the requested memory is not actually used,
Positive memory is the memory used.

Excl. CPU (microsec) refers to the cpu time consumed by function execution.
When Excl. Memuse is negative, the cpu time consumed is 0, that is, it is not run at all.

I don't know what I understand, right?

Excl. Memuse (should be the user memory) where a negative number occurs is executing Cache_module: get
In terms of running sense, the cache can actually be considered to be in the memory, so he deducts this part of the capacity during computing (of course, it actually needs to occupy the memory ). After all, he is an optimization analysis tool rather than a resource monitoring tool.

Http://stackoverflow.com/questions/17804849/interpreting-xhprof-results-why-yield-negative-values-of-memuse

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.