[dev-servo] Benchmark of the off main thread HTML parser
Hi everyone, I'm thinking to participate GSoC'17, and I'd like to work on Servo. I found "Off main thread HTML parsing project" in GitHub Wiki, it's sounds interesting, and I sent some PRs to each E-easy issue. I have been reading the project page and I have a question. How the async parser's performance is benchmarked? Thanks, Akito Ono ___ dev-servo mailing list dev-servo@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-servo
[dev-servo] Accessing the unit of similar origin browsing context - MutationObserverAPI
I am trying to implement the MutationObserver Constructor as described here: https://dom.spec.whatwg.org/#dom-mutationobserver-mutationobserver. I am not sure how to access the unit of related similar-origin browsing contexts' list of MutationObserver objects. Can someone guide me on how to access this? Thanks! ___ dev-servo mailing list dev-servo@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-servo
Re: [dev-servo] Accessing the unit of similar origin browsing context - MutationObserverAPI
On 2017-03-28 11:35 AM, pigos...@ncsu.edu wrote: I am trying to implement the MutationObserver Constructor as described here: https://dom.spec.whatwg.org/#dom-mutationobserver-mutationobserver. I am not sure how to access the unit of related similar-origin browsing contexts' list of MutationObserver objects. Can someone guide me on how to access this? Thanks! This is the "vector of MutationObserver objects as a member of ScriptThread" from the project description. You should add a static method to the ScriptThread type that accepts a &MutationObserver argument and follows the same pattern as similar methods like mark_document_with_no_blocked_loads . Cheers, Josh ___ dev-servo mailing list dev-servo@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-servo
Re: [dev-servo] Benchmark of the off main thread HTML parser
On 2017-03-28 9:41 AM, aktoo3...@gmail.com wrote: Hi everyone, I'm thinking to participate GSoC'17, and I'd like to work on Servo. I found "Off main thread HTML parsing project" in GitHub Wiki, it's sounds interesting, and I sent some PRs to each E-easy issue. I have been reading the project page and I have a question. How the async parser's performance is benchmarked? Thanks, Akito Ono Hi! A straightforward answer to this question is that you compare the values of Date.now() at the start of page load and after the DOMContentLoaded event is dispatched (which means that parsing has completed), and you also measure the performance of APIs that use the parser like Element.innerHTML. However, I would also like to point out that there is not much time left before the GSoC submission deadline, and we have several applicants who have shown us very strong proposals so far. Given this, I think your odds of being selected for this project at this point are very low, and you should probably look at other projects if you wish to participate in GSoC'17. Cheers, Josh ___ dev-servo mailing list dev-servo@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-servo