Levi Morrison

Results 60 issues of Levi Morrison

### Description This reduces unsafe: 1. `RUNTIME_PHP_VERSION_ID` is atomic. The reads and writes are `Relaxed` because the only write happens in module init where no other threads exist. 2. Use...

profiling

PROF-9982 ### Description #### Background and Motivation For wall- and CPU- time, we walk the call stack in the VM interrupt handler. Unfortunately, if an internal function call is the...

profiling
tracing

PROF-9925 ### Description Previously, each frame was 7 * 64 bits. They are now 3 * 64 bits, at the cost that there are slightly more `String` copies than before....

profiling
tracing

### Description Recently the build artifacts got quite large due to the tracer including debug symbols for things. The profiler has also been creeping up in size, and so I...

### Description The old mount was too generic and clobbered over the new cargo and rustup installations. What's strange is the new location installs to where the old one _meant_...

Consider `HashSet` on x86_64 with SSE with various bucket sizes and how many bytes the allocation ends up being: | buckets | capacity | allocated bytes | | ------- |...

Allocators are allowed to return a larger memory chunk than was asked for. If the amount extra is large enough, then the hash map can use the extra space. The...

When compiling this package, I get: > warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 Unfortunately, upgrading is not easy...

I'm running this command: ```sh cargo bundle-licenses \ --format yaml \ --output /tmp/CI.yaml \ --previous LICENSE-3rdparty.yml \ --check-previous \ || diff /tmp/CI.yaml LICENSE-3rdparty.yml ``` In my case, the relevant part...

### Description The global profiler (e.g. PROFILER) and the Profiler::* functions that worked on it were moved into a new struct SystemProfiler. ### Motivation The `profiling/src/profiling/mod.rs` file was getting big...

profiling
tracing