Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Profile based on Ruby thread rather than native thread (#46)
* Record samples by Ruby thread not native thread Previously would collect samples grouping them my native thread id. This worked relatively well, and was a somewhat arbitrary choice. Ruby 3.3 will have a M-N thread scheduler, which means that a single native thread may run multiple Ruby threads, and threads may migrate between native threads. With this profiles should be much more readable and useful if separated by Ruby thread. Co-authored-by: Aaron Patterson <[email protected]> Co-authored-by: John Hawthorn <[email protected]> Co-authored-by: Danny <[email protected]>
- Loading branch information