Skip to content

Conversation

@k0kubun
Copy link
Member

@k0kubun k0kubun commented Aug 21, 2025

This PR lets benchmark harnesses print ZJIT time stats after benchmarks.

While it's possible to print all stats with --zjit-stats, we want to see some of the stats without --zjit-stats because it compiles more code and thus significantly impacts some of the stats. To check the real compile-time overhead, for example, we want to see :compile_time_ns without enabling --zjit-stats. So this harness prints it automatically, similarly to those YJIT stats.

I'll also add :code_region_size here once it's added to ZJIT stats.

@k0kubun k0kubun marked this pull request as ready for review August 21, 2025 22:30
@k0kubun k0kubun requested a review from a team August 21, 2025 22:30
@k0kubun k0kubun merged commit 1da02d7 into ruby:main Aug 22, 2025
4 checks passed
@k0kubun k0kubun deleted the zjit-stats branch August 22, 2025 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants