Skip to content

Commit 54490de

Browse files
authored
Update README.md
1 parent 3e36cba commit 54490de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ The extension tracks the allocation and release of memory blocks to report the a
1414

1515
### How does it differ from Blackfire ?
1616

17-
Accuracy: Blackfire tracks how functions affect the total memory usage (memory_usage_after - memory_usage_before, for each function call). Memprof tracks every allocated memory block in the program, and reports what has not been freed at an arbitrary point in the program. In effect, the difference between these two strategies is that functions that allocate small amounts of memory but whose allocations are retained may not be visible in Blackfire, whereas functions that allocate big chunks of memory that are freed by the caller will look like big memory consumers although they are not really.
17+
Blackfire measures peak memory during function calls, while Memprof focuses on leaked memory. This makes Memprof more accurate when trying to find the cause of a high memory usage.
1818

19-
Native malloc: Memprof can track the memory allocated with malloc(), in addition to PHP's own allocator.
19+
An other difference is that Memprof can track native memory, like the memory allocated by libxml when using the DOM extension.
2020

2121
## Install
2222

0 commit comments

Comments
 (0)