Skip to content

Only use expensive stopwatches while profiling#2969

Merged
Dunbaratu merged 1 commit intoKSP-KOS:developfrom
thexa4:feature/profiling-speedup
Jul 13, 2021
Merged

Only use expensive stopwatches while profiling#2969
Dunbaratu merged 1 commit intoKSP-KOS:developfrom
thexa4:feature/profiling-speedup

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