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

Pat/benchmark #1718

Merged
merged 62 commits into from
Nov 24, 2022
Merged

Pat/benchmark #1718

merged 62 commits into from
Nov 24, 2022

Conversation

qianyi-sun
Copy link
Contributor

@qianyi-sun qianyi-sun commented Nov 21, 2022

Use scl benchmark run <scenario_path> to auto-generate .md format report. The following is an example:
benchmark_result_21_11_2022_10_12_25.md

Copy link
Collaborator

@Gamenot Gamenot left a comment

Choose a reason for hiding this comment

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

Once the pickle and autogen maps are removed this can go in.

log(f'"{name}" took: {elapsed_time:4f}ms')
if funcs:
for func in funcs:
func(elapsed_time)
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm a bit opposed to adding this to the timeit function. I think if you need complex behaviour like this, you should write a new function.

@qianyi-sun qianyi-sun merged commit e4d6b25 into develop Nov 24, 2022
@qianyi-sun qianyi-sun deleted the pat/benchmark-2 branch November 24, 2022 15:01
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.

4 participants