Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add built-in IR Interpreter profiler #19255

Merged
merged 7 commits into from
Jun 5, 2024
Merged

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented Jun 5, 2024

To be able to focus IR interpreter work on what matters the most in the future.

  • Adds block execution timing (behind #ifdef IR_PROFILING in order to not affect performance in the usual case)
  • Extend the JIT Compare screen to be able to list and sort blocks according to various criteria

As a result, we can now sort IR blocks by time spent executing them, and dive in to see what they look like, in order to identify possible optimizations.

@hrydgard hrydgard added IRInterpreter Occurs with IR Interpreter but not with another CPU backend. CPU emulation labels Jun 5, 2024
@hrydgard hrydgard added this to the v1.18.0 milestone Jun 5, 2024
@hrydgard hrydgard marked this pull request as ready for review June 5, 2024 18:46
@hrydgard hrydgard merged commit ff48de1 into master Jun 5, 2024
18 checks passed
@hrydgard hrydgard deleted the ir-interpret-profiling branch June 5, 2024 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CPU emulation IRInterpreter Occurs with IR Interpreter but not with another CPU backend.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant