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

JIT compiled code profiling, and sqrt #5366

Merged
merged 5 commits into from
Sep 25, 2024
Merged

JIT compiled code profiling, and sqrt #5366

merged 5 commits into from
Sep 25, 2024

Conversation

dolio
Copy link
Contributor

@dolio dolio commented Sep 24, 2024

The main change in this PR is to add an argument to compile.native that turns on profiling around the main entry point. This means that the whole program gets profiled, printing out summaries every 60s and on program exit.

This doesn't allow you to profile particular sections of code, but it's easy to toggle when you're creating the program.

I also included the implementation of sqrt which Mitchell noticed was missing.

@aryairani aryairani merged commit df6b493 into trunk Sep 25, 2024
1 check passed
@aryairani aryairani deleted the topic/jit-optimize branch September 25, 2024 16:51
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