Skip to content
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

Updating performance implementation and putting more measurements in #20459

Merged
merged 1 commit into from Nov 21, 2018

Conversation

@avadacatavra
Copy link
Contributor

avadacatavra commented Mar 28, 2018


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #__ (github issue number if applicable).
  • There are tests for these changes OR
  • These changes do not require tests because _____

This change is Reviewable

@highfive
Copy link

highfive commented Mar 28, 2018

Heads up! This PR modifies the following files:

  • @asajeffrey: components/script/dom/webidls/PerformanceResourceTiming.webidl, components/script/dom/performance.rs, components/script/dom/webidls/PerformanceTiming.webidl, components/script/dom/workerglobalscope.rs, components/script/dom/webidls/PerformanceNavigationTiming.webidl and 6 more
  • @fitzgen: components/script/dom/webidls/PerformanceResourceTiming.webidl, components/script/dom/performance.rs, components/script/dom/webidls/PerformanceTiming.webidl, components/script/dom/workerglobalscope.rs, components/script/dom/webidls/PerformanceNavigationTiming.webidl and 6 more
  • @KiChjang: components/script/dom/webidls/PerformanceResourceTiming.webidl, components/script/dom/performance.rs, components/script/dom/webidls/PerformanceTiming.webidl, components/script/dom/workerglobalscope.rs, components/script/dom/webidls/PerformanceNavigationTiming.webidl and 6 more
Copy link
Member

jdm left a comment

At least some of the test failures should be addressed by setting up the inheritance of the DOM objects correctly.

#[dom_struct]
pub struct PerformanceResourceTiming {
reflector_: Reflector,
entry: Dom<PerformanceEntry>,

This comment has been minimized.

@jdm

jdm Mar 28, 2018

Member

This should be performanceentry: PerformanceEntry instead of the reflector_ and entry members, since this interface inherits from PerformanceEntry (docs).

pub struct PerformanceNavigationTiming {
reflector_: Reflector,
// https://w3c.github.io/navigation-timing/#PerformanceResourceTiming
resource_timing: Dom<PerformanceResourceTiming>,

This comment has been minimized.

@jdm

jdm Mar 28, 2018

Member

This needs to be performanceresourcetiming: PerformanceResourceTiming instead of relector_ and resource_timing (docs).

@@ -111,7 +110,6 @@ struct PerformanceObserver {
#[dom_struct]
pub struct Performance {
reflector_: Reflector,

This comment has been minimized.

@jdm

jdm Mar 28, 2018

Member

This needs to be eventtarget: EventTarget instead now (docs).

@jdm jdm removed the S-awaiting-review label Mar 28, 2018
@avadacatavra avadacatavra force-pushed the avadacatavra:time-origin branch 3 times, most recently from f060d25 to cc72e24 Apr 9, 2018
@avadacatavra
Copy link
Contributor Author

avadacatavra commented Apr 11, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Apr 11, 2018

Trying commit 0172928 with merge c4faf85...

bors-servo added a commit that referenced this pull request Apr 11, 2018
WIP: Updating performance implementation and putting more measurements in

<!-- 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 #__ (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/20459)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Apr 11, 2018

💔 Test failed - linux-rel-wpt

@avadacatavra
Copy link
Contributor Author

avadacatavra commented Apr 13, 2018

@bors-servo retry

@bors-servo
Copy link
Contributor

bors-servo commented Apr 13, 2018

Trying commit 0172928 with merge 773c0c4...

bors-servo added a commit that referenced this pull request Apr 13, 2018
WIP: Updating performance implementation and putting more measurements in

<!-- 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 #__ (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/20459)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Apr 13, 2018

💔 Test failed - linux-rel-wpt

@avadacatavra
Copy link
Contributor Author

avadacatavra commented Apr 19, 2018

@bors-servo retry

@bors-servo
Copy link
Contributor

bors-servo commented Apr 19, 2018

Trying commit 0172928 with merge d7635eb...

bors-servo added a commit that referenced this pull request Apr 19, 2018
WIP: Updating performance implementation and putting more measurements in

<!-- 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 #__ (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/20459)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Apr 19, 2018

💔 Test failed - linux-rel-wpt

@bors-servo
Copy link
Contributor

bors-servo commented Apr 27, 2018

The latest upstream changes (presumably #20533) made this pull request unmergeable. Please resolve the merge conflicts.

@bors-servo
Copy link
Contributor

bors-servo commented Nov 20, 2018

🔒 Merge conflict

@bors-servo
Copy link
Contributor

bors-servo commented Nov 20, 2018

The latest upstream changes (presumably #22227) made this pull request unmergeable. Please resolve the merge conflicts.

refactoring with ResourceFetchMetadata

implemented deprecated window.timing functionality

created ResourceTimingListener trait

fixed w3c links in navigation timing

updated include.ini to run resource timing tests on ci
@avadacatavra avadacatavra force-pushed the avadacatavra:time-origin branch from bb1332a to 26007fd Nov 20, 2018
@avadacatavra
Copy link
Contributor Author

avadacatavra commented Nov 20, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Nov 20, 2018

📌 Commit 26007fd has been approved by avadacatavra

@bors-servo
Copy link
Contributor

bors-servo commented Nov 20, 2018

Testing commit 26007fd with merge 4da5390...

bors-servo added a commit that referenced this pull request Nov 20, 2018
Updating performance implementation and putting more measurements in

<!-- 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 #__ (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/20459)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Nov 20, 2018

💔 Test failed - linux-rel-wpt

@avadacatavra
Copy link
Contributor Author

avadacatavra commented Nov 20, 2018

@bors-servo retry

@bors-servo
Copy link
Contributor

bors-servo commented Nov 20, 2018

Testing commit 26007fd with merge 5da1069...

bors-servo added a commit that referenced this pull request Nov 20, 2018
Updating performance implementation and putting more measurements in

<!-- 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 #__ (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/20459)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Nov 20, 2018

💔 Test failed - linux-rel-wpt

@avadacatavra
Copy link
Contributor Author

avadacatavra commented Nov 20, 2018

@bors-servo retry

@bors-servo
Copy link
Contributor

bors-servo commented Nov 21, 2018

1 similar comment
@bors-servo
Copy link
Contributor

bors-servo commented Nov 21, 2018

@bors-servo bors-servo merged commit 26007fd into servo:master Nov 21, 2018
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.