View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001096 | Xdebug | Uncategorized | public | 2014-12-23 21:38 | 2015-02-22 14:30 |
| Reporter | danslo | Assigned To | |||
| Priority | normal | Severity | tweak | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Fixed in Version | 2.3.0 | ||||
| Summary | 0001096: Breakpoint bottleneck in large codebase | ||||
| Description | An earlier bugfix, http://bugs.xdebug.org/view.php?id=843, made sure that xdebug_sprintf always works with C locale. To do this, it calls setlocale multiple times. One of the functions that calls into xdebug_sprintf is handle_breakpoints, which can be called many times when dealing with a large codebase. In the case of Magento 2, when preprocessing LESS files, this eventually caused a single request to call setlocale over 8 million times. | ||||
| Steps To Reproduce |
| ||||
| Additional Information | A pullrequest with additional information is here: | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 5.6.0-5.6.4 | ||||