Levi Morrison
Levi Morrison
This is related to php-ds/extension#92. The interface description is a bit odd; was trying to keep the existing general structure and language.
I have some multi-threaded code which uses channels to send data back and forth. It's also possible that the program this runs in does a `fork`. 1. I need to...
### Description Deadlocks are prevented by the following technique: - Prior to the fork, all profiling threads will wait on the same barrier. - After the fork in the parent...
### Description Reworks the widgets section of the WordPress integration: - Drops `WP_Widget::display_callback` and instead trace overrides of the `WP_Widget::widget` method, and use the `WP_Widget::$name` as the resource. - Drops...
### Code I tried this code: ```rust fn main() { match 2u64.checked_pow(64) { Some(n) => println!("2^64: {n}"), None => {} }; } ``` I expected that a `checked_*` operation would...
I'm trying to run a command like this: ```sh cargo instruments --all-features --bench $bench -t time --profile-time 5 ``` Where `--profile-time 5` is supposed to be an argument to the...
The previous code was full of jumps that aren't easily predictable. This version is less code, generates less code, and should perform better (well, on x86_64 anyway, I am not...
### Description This updates libdatadog to use a branch which has an arena-based string table. See Datadog/libdatadog#306. The arena capacity probably needs some tweaking, and should probably be set to...
### Description This adds `DD_PROFILING_WALLTIME_ENABLED` which doesn't currently disable wall-time profiles completely, it only cancels the timer. You can still trigger them manually, which is partly the purpose: we want...
### Description Example: `do_action(hook_name: 'rest_api_init')`. When looking at WordPress profiles, it's helpful to know what action is attached to the frame. For example, if I browse to the profile from...