Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upIntroduce task queues, and throttling performance timeline tasksource #21388
Conversation
highfive
commented
Aug 12, 2018
|
Heads up! This PR modifies the following files:
|
highfive
commented
Aug 12, 2018
71f096c
to
e91271c
|
@jdm this is sort of a first draft on the "task-queue" concept, let me know what you think... |
dd5170a
to
9b886e6
|
@bors-servo try |
Introduce task queues, and throttling performance timeline tasksource <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #19997 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21388) <!-- Reviewable:end -->
|
|
e0b521a
to
184c69c
|
Last commit is an attempt at #20723, with one caveat, which is that we'll |
8eb1ad9
to
c9235d8
|
I'm looking into making this |
| fn recv_tasks(&self) -> Vec<WorkerScriptMsg> { | ||
| self.receiver.try_iter().map(|msg|{ | ||
| let (linked_worker, script_msg) = msg; | ||
| let _ar = AutoWorkerReset::new(&*self.dedicated_scope, linked_worker); |
This comment has been minimized.
This comment has been minimized.
gterzian
Aug 15, 2018
Author
Member
I think this is actually not going to work, since we should only do the AutoWorkerReset 'right before' handling a particular event...
a4a62ad
to
5a7bb16
|
@jdm This one took me quite far down the rabbit hole, and it is finally ready for review. Main problems encountered:
|
5a7bb16
to
07375b7
|
@bors-servo try |
|
Just waiting on squashing into the two commits now. |
|
@bors-servo delegate=gterzian |
|
|
2b13994
to
029715a
|
@bors-servo r=jdm |
|
|
|
@bors-servo r+ |
|
|
|
|
@bors-servo r=jdm (though it didn't trigger the build first time, but that's not the case it seems) |
|
|
|
|
either this or #21325 will require a rebase anyhow... |
Introduce task queues, and throttling performance timeline tasksource <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #19997 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21388) <!-- Reviewable:end -->
|
|
|
@bors-servo retry |
|
|
|
|
gterzian commentedAug 12, 2018
•
edited
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is