10000 [DOC] Clarified YJIT stats changes · github/ruby@36e9028 · GitHub
[go: up one dir, main page]

Skip to content

Commit 36e9028

Browse files
committed
[DOC] Clarified YJIT stats changes
1 parent 4e4b87d commit 36e9028

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

NEWS.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,10 @@ The following bundled gems are promoted from default gems.
476476
* `RubyVM::YJIT.enable(log: true)` also enables a compilation log.
477477
* `RubyVM::YJIT.log` provides access to the tail of the compilation log at run-time.
478478
* YJIT stats
479-
* More statistics now always available via `RubyVM::YJIT.runtime_stats`
479+
* `RubyVM::YJIT.runtime_stats` now always provides additional statistics on
480+
invalidation, inlining, and metadata encoding.
481+
* `RubyVM::YJIT.runtime_stats[:iseq_calls]` is added to profile non-inlined Ruby method calls.
482+
* `RubyVM::YJIT.runtime_stats[:cfunc_calls]` is truncated to the top 20 entries for better performance.
480483

481484
#### New optimizations
482485

0 commit comments

Comments
 (0)
0