Xdebug 2.0beta6
I am currently in Sofia attending the webtech conference. However some of the talks are in Bulgarian which makes it quite hard to follow. (There is translation available, but it is still not easy). So, instead of going to the sessions I finalized some optimization patches for Xdebug . I managed to find and fix some performance bottlenecks with cachegrind. Xdebug usually tries to figure out which variables are available in a specific function's scope by iterating over the op array that is being excuted. However, in many cases this is totally useles as the information is never used in any way. With the patch Xdebug will only try to figure out this information when either remote debugging is enabled, or when the setting xdebug.show_local_vars is activated. This speeds up certain applications by as much as 50%. This patch, and many others, made it into Xdebug 2.0.0beta6 which I just released through PECL. The source code is also avaible through the Xdebug website.
Comments
Would you per chance happen to know about the xdebug intergration with phpeclipse, in particular where it comes to connecting to a remote server? It seems.. very quiet on that front, alas.
@Wim: I've no idea whatsoever related to that.
Life Line
Created 6 benches, a main entrance, and a bicycle_parking; Updated 2 main entrances
Created 4 trees, a balancebeam, and 3 other objects; Updated 5 benches and 2 waste_baskets
Merge branch 'xdebug_3_5'
Merged pull request #1092
Use actual PID here, as we use that to be able to connect
Created 2 main entrances; Updated a vacant shop, a furniture shop, and a cafe; Confirmed an estate_agent office, a laundry shop, and 4 other objects
Merged pull request #1091
PHP 8.6: Fixed test expectation for 'debugInfo' name in error
Add 'strace' to run-xdebug-tests.php command
Oystercatcher Parent and Chick
Standing on the edge of a lake in the Arundel Wetlands.
#birds #birdPhotography #Birdsoffediverse #Photography #Nature #Wildlife
Updated 2 main entrances
Fixed tagging and bollard location
I hiked 8.7km in 4h4m28s
Updated a restaurant
Updated a restaurant
Updated a restaurant
I walked 5.5km in 56m26s
Created an entrance
I walked 5.7km in 1h20m50s
Updated a fitness_centre; Confirmed a charging_station
I walked 4.0km in 47m13s
I walked 1.1km in 9m32s
Also, whatnow‽
`GET /icons/blank.gif HTTP/1.1" 200 398 "https://downloads.php.net/~windows/pecl/releases/?utm_source=chatgpt.com`
WTF does that need an `utm_source` for?
I sometimes wish cache expiries could be fuzzy, like 900±15 seconds. Y'know, to prevent the thundering herd effect.
Created a chemist shop


Shortlink
This article has a short URL available: https://drck.me/xdebug-2-4u1