-
Notifications
You must be signed in to change notification settings - Fork 190
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
Pat/benchmark #1718
Conversation
… into pat/benchmark-2
There was a problem hiding this 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.
smarts/core/utils/logging.py
Outdated
log(f'"{name}" took: {elapsed_time:4f}ms') | ||
if funcs: | ||
for func in funcs: | ||
func(elapsed_time) |
There was a problem hiding this comment.
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.
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