-
Notifications
You must be signed in to change notification settings - Fork 18
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
Full recording of tasks and commands on request (e.g. for graph printing) #197
Conversation
Check-perf-impact results: (9e900a306dc9f17e4a27439205a7680c) ❓ No new benchmark data submitted. ❓ |
63659b6
to
df1d1e0
Compare
7d2bb8c
to
c60e073
Compare
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 like it!
One design decision that strikes me as odd is having the task manager / graph generator own the recorder. IMO we would have better separation of concerns if these classes received a pointer to an existing recorder, which would also allow us to get rid of both print_graph
member functions.
Review comments addressed. This includes a pretty large (in terms of LOC) change to all unit tests working directly with tasks, due to the introduction of a new helper context, which allows us to throw away a lot of boilerplate. |
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.
clang-tidy made some suggestions
f846555
to
e199133
Compare
e199133
to
ef27e17
Compare
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.
Good stuff!
ef27e17
to
65fdd46
Compare
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.
LGTM
ab0a662
to
8f791c7
Compare
…e.g. for graph printing)
8f791c7
to
a83b6f3
Compare
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.
Something I missed in the initial review:
a83b6f3
to
926cf24
Compare
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.
LGTM!
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.
Very nice that the task naming thing worked out so well in the end!
727de29
to
64fb5f0
Compare
Add testing context utility to reduce boilerplate and obviate the need for explicit calls to maybe_print.
- also includes some extended tests
* Recorders no longer owned by task manager / graph gen * Also fix member var naming scheme and namespaces according to review suggestions * Several minor improvements
64fb5f0
to
ad4c05b
Compare
This was supposed to be a small thing I'll quickly finish before doing what I actually want to do. Oh well.
Results of some in-person discussions during development:
I still want to extend test coverage a bit before making the full PR, I noticed that a few things aren't covered at all during development.
Edit:
Added the additional tests and squashed into meaningful commit chunks. Ready for review.