servo harness: Reduce recursive execution for shutdown#42770
servo harness: Reduce recursive execution for shutdown#42770yezhizhen merged 1 commit intoservo:mainfrom
Conversation
|
🤖 Opened new upstream WPT pull request (web-platform-tests/wpt#57973) with upstreamable changes. |
|
✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#57973) title and body. |
1 similar comment
|
✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#57973) title and body. |
I feel like the first sentence should be reworded, since |
| ) | ||
| except requests.exceptions.ConnectionError: | ||
| self.logger.debug("Browser already shut down (connection refused)") | ||
| return |
There was a problem hiding this comment.
So if I understand correctly this break -> return is the main improvement / fix, correct?
|
✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#57973) title and body. |
I just added "runner" after "servo". What do you think? |
|
✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#57973) title and body. |
|
@yezhizhen Perhaps adding |
Signed-off-by: Euclid Ye <[email protected]>
dd3e46f to
38f654f
Compare
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#57973). |
|
✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#57973) title and body. |
|
I compared a few action runs. This seems to reduce about 18 seconds per chunk in average. For 20 chunks, it would be ~360 seconds. |
|
⛔ Failed to properly merge the upstream pull request (web-platform-tests/wpt#57973). Please address any CI issues and try to merge manually. |
I like
servorunner, or better known as its previous nameservodriverto some people.However, it is getting quite often that I use
legacy, or better known as its previous nameservo.This is because
servo (previously servodriver)harness shutdown very slowly due to its shutdown command #40455Previously, shutdown is like:
Now:
Testing: Locally, this reduce shutdown time from about 5 sec to 1 sec, counting from "Trying to shut down gracefully by extension command".
Try.