MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000474XdebugFeature/Change requestpublic2009-09-24 18:322017-06-23 06:32
Reporterjacobweber 
Assigned To 
PrioritynormalSeveritymajorReproducibilityN/A
StatusconfirmedResolutionopen 
PlatformOSOS Version
Product Version2.0.0dev 
Target Version2.6.0devFixed in Version 
Summary0000474: Implement memory profiling
DescriptionAny change we can get this patch folded into an Xdebug release? It seems to work for me.
http://xdebug.org/archives/xdebug-general/1228.html [^]
TagsNo tags attached.
Operating System
PHP Version5.3.0
Attached Filespatch file icon xdebug_mem.patch [^] (5,602 bytes) 2011-10-06 18:55 [Show Content]

- Relationships

-  Notes
(0001835)
atis (reporter)
2011-10-06 18:55

With minor changes working on 2.1.2 version and KCacheGrind.

Original author "Benson, Geoff" as mentioned in link
(0001836)
atis (reporter)
2011-10-06 20:26

Added pull request on github.
(0001938)
derick (administrator)
2012-02-29 13:15

Even though the patch is correct, the results will not be. PHP's memory manager is quite unreliable for when it frees up memory. I don't quite know whether I want to add something that I know will confuse people...
(0001942)
atis (reporter)
2012-02-29 17:25

This helped me to see most memory used, optimize, etc.

It actually doesn't matter for me to see correct numbers - when debugging memory usage all you need is allocations and percentage of total usage.
(0003282)
pounard (reporter)
2015-12-03 15:19
edited on: 2015-12-03 15:20

I do agree with atis, memory is important even if the numbers are not correct. That's a feature I've been waiting for a few years now, a profiler without memory information is only half-complete.


- Issue History
Date Modified Username Field Change
2009-09-24 18:32 jacobweber New Issue
2009-09-24 18:32 jacobweber Operating System => N/A
2009-09-24 18:32 jacobweber PHP Version => 5.3.0
2009-09-24 18:32 jacobweber Xdebug Version => 2.0.4
2011-10-06 18:55 atis File Added: xdebug_mem.patch
2011-10-06 18:55 atis Note Added: 0001835
2011-10-06 20:26 atis Note Added: 0001836
2012-02-29 13:15 derick Note Added: 0001938
2012-02-29 17:25 atis Note Added: 0001942
2015-12-03 15:19 pounard Note Added: 0003282
2015-12-03 15:20 pounard Note Edited: 0003282 View Revisions
2016-12-11 15:58 derick Status new => confirmed
2016-12-11 15:58 derick Target Version => 2.6.0dev
2017-06-23 06:32 fitzs Operating System N/A =>


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker