Skip to content
This repository was archived by the owner on Apr 25, 2024. It is now read-only.

Added execution time to APRSummary#908

Merged
rv-jenkins merged 6 commits intomasterfrom
lis/print_exec_time
Feb 22, 2024
Merged

Added execution time to APRSummary#908
rv-jenkins merged 6 commits intomasterfrom
lis/print_exec_time

Conversation

@lisandrasilva
Copy link
Copy Markdown
Contributor

Needed to implement Issue 389 in Kontrol.

Comment thread src/pyk/proof/reachability.py Outdated
f' terminal: {self.terminal}',
f' refuted: {self.refuted}',
f' bounded: {self.bounded}',
f' execution time: {round(self.exec_time,2)}',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
f' execution time: {round(self.exec_time,2)}',
f' execution time: {round(self.exec_time, 2)}',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're printing this information, shall we add s (for seconds) to the line? (or ms, depending on what we're measuring the time it)

I.e., something like

            f'    execution time: {round(self.exec_time, 2)}s',

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right! It's in s, but I am wondering if it wouldn't make sense to present the result in minutes.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@palinatolmach what do you think of displaying it as execution time: 0h 1m 33s?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update!

@palinatolmach palinatolmach self-requested a review February 22, 2024 16:02
Comment thread src/pyk/proof/reachability.py Outdated
@rv-jenkins rv-jenkins merged commit e251de6 into master Feb 22, 2024
@rv-jenkins rv-jenkins deleted the lis/print_exec_time branch February 22, 2024 16:43
virgil-serbanuta pushed a commit that referenced this pull request Feb 23, 2024
Needed to implement [Issue
389](runtimeverification/kontrol#389) in
Kontrol.

---------

Co-authored-by: devops <devops@runtimeverification.com>
Baltoli pushed a commit to runtimeverification/k that referenced this pull request Apr 9, 2024
Needed to implement [Issue
389](runtimeverification/kontrol#389) in
Kontrol.

---------

Co-authored-by: devops <devops@runtimeverification.com>
Baltoli pushed a commit to runtimeverification/k that referenced this pull request Apr 9, 2024
Needed to implement [Issue
389](runtimeverification/kontrol#389) in
Kontrol.

---------

Co-authored-by: devops <devops@runtimeverification.com>
Baltoli pushed a commit to runtimeverification/k that referenced this pull request Apr 10, 2024
Needed to implement [Issue
389](runtimeverification/kontrol#389) in
Kontrol.

---------

Co-authored-by: devops <devops@runtimeverification.com>
Baltoli pushed a commit to runtimeverification/k that referenced this pull request Apr 10, 2024
Needed to implement [Issue
389](runtimeverification/kontrol#389) in
Kontrol.

---------

Co-authored-by: devops <devops@runtimeverification.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants