View Issue Details

IDProjectCategoryView StatusLast Update
0000474XdebugProfilingpublic2020-03-12 16:47
Reporterjacobweber Assigned To 
PrioritynormalSeveritymajorReproducibilityN/A
Status closedResolutionfixed 
Product Version2.0.0dev 
Target Version2.6.0Fixed in Version2.6.0alpha1 
Summary0000474: Implement memory profiling
Description

Any 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

Activities

atis

2011-10-06 17:55

reporter   ~0001835

With minor changes working on 2.1.2 version and KCacheGrind.

Original author "Benson, Geoff" as mentioned in link

atis

2011-10-06 19:26

reporter   ~0001836

Added pull request on github.

derick

2012-02-29 13:15

administrator   ~0001938

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...

atis

2012-02-29 17:25

reporter   ~0001942

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.

pounard

2015-12-03 15:19

reporter   ~0003282

Last edited: 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.