Skip to content

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
@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