Files
sousa-gecko/tools/profiler/rust-api
Damien Carver d22fde239d Bug 2051928 - Reduce Rust marker recording lock contention with a read-fast/write-slow tag lookup r=canova,profiler-reviewers
get_or_insert_deserializer_tag took a process-global exclusive write lock on
every marker, serializing all Rust marker recording across threads. Take a
shared read lock for the already-registered steady state and only escalate to
the exclusive write lock (with a double-checked re-lookup) on first
registration of a marker type.

Differential Revision: https://phabricator.services.mozilla.com/D309838
2026-07-01 18:47:55 +00:00
..
…
…

Gecko Profiler API for Rust

This crate is the collection of all the API endpoints for Gecko Profiler. Please use this crate instead of using raw FFI calls.

See the module documentations for more information about the specific API endpoints.