View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001506 | Xdebug | Uncategorized | public | 2017-12-30 16:15 | 2020-03-12 16:46 |
| Reporter | beberlei | Assigned To | |||
| Priority | normal | Severity | feature | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Product Version | 2.6.0beta1 | ||||
| Target Version | 2.6.0 | Fixed in Version | 2.6.0rc1 | ||
| Summary | 0001506: Collect statistics about garbage collection | ||||
| Description | The PHP garbage collection doesn't expose statistical information about number of runs, efficiency, memory cleared and exact locations of code where they are triggered. I want to port the functionality of my garbage_stats extension (https://github.com/tideways/php_garbage_stats) into Xdebug to provide this functionality. It works by setting an INI setting "xdebug.gc_stats_enable=1" or calling the function "xdebug_start_gcstats([$filename]);". Output of this process is a file written to disk by using the xdebug.gc_stats_output_dir/name options for naming or the provided filename in the function. Currently only a non machine readable, tabular format is provided with the following data points:
| ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 7.2.0-7.2.4 | ||||