Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add critical path scheduler to improve build times #2019
Add critical path scheduler to improve build times #2019
Changes from 11 commits
4af9fc5
12b5b7c
8e23200
2fcf403
c5d355c
63b0a9a
5b8d19b
fe80637
c83167f
77448b4
24d1f5f
1af6daf
6ee9049
1128a56
a861164
026498f
4bd8db1
a643af2
f2333b7
09d4faa
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
This comment was marked as abuse.
Sorry, something went wrong.
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 assumed C++11 isn't required yet from the code style used elsewhere. Is that correct?
This comment was marked as abuse.
Sorry, something went wrong.
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.
Also means no
std::chrono::duration<int64_t, std::milli>
:-(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.
nit: s/exection/execution time :-)
Also, it may be more useful to document the use case than the implementation (which is not totally clear here), for example something like:
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.
Also why not using an
_ms
suffix for clarity just likerun_time_ms_
?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 think that phrasing is more confusing. "all commands that lead to the generation of the target output." sounds like the sum of the entire sub-graph, not just the longest path.
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.
On second thought I think you are correct about the phrasing, I stand corrected :)