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

Only use expensive stopwatches while profiling #2969

Merged
merged 1 commit into from
Jul 13, 2021

Conversation

thexa4
Copy link
Contributor

@thexa4 thexa4 commented Jun 15, 2021

After profiling I noticed that 7% of the time is being spent on tracking how long each instruction takes:
without-optim

This patch disables profiling unless it is explicitly enabled by the user:
with-optim

@Dunbaratu Dunbaratu merged commit 083c340 into KSP-KOS:develop Jul 13, 2021
@thexa4 thexa4 deleted the feature/profiling-speedup branch December 30, 2021 23:09
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