Re: [dev-servo] First synchronous hammering performance numbers

2013-05-28 Thread Josh Matthews
On 05/28/2013 12:26 PM, Boris Zbarsky wrote: On 5/27/13 2:25 PM, Josh Matthews wrote: The following script (test_hammer_layout.html) can now run in Servo This yields 1239493. That's nanoseconds per iteration. As in, 1.2ms (!). This is not really ok. ;) Is this with builds that do the "e

Re: [dev-servo] First synchronous hammering performance numbers

2013-05-28 Thread Boris Zbarsky
On 5/27/13 9:19 PM, Robert O'Callahan wrote: I'm pretty sure that Gecko short-circuits setting of an attribute to the value it already has, in the DOM code. And the spec requires that behavior, fwiw, in various ways. -Boris ___ dev-servo mailing list

Re: [dev-servo] First synchronous hammering performance numbers

2013-05-28 Thread Boris Zbarsky
On 5/27/13 2:25 PM, Josh Matthews wrote: The following script (test_hammer_layout.html) can now run in Servo This yields 1239493. That's nanoseconds per iteration. As in, 1.2ms (!). This is not really ok. ;) Is this with builds that do the "eagerly kick off layout from any DOM change"

Re: [dev-servo] Question (forgive the wide dispersal)

2013-05-28 Thread Boris Zbarsky
On 5/27/13 11:07 AM, Kieran Boland wrote: I guess, start learning 'Rust' , and check out the dev side of things ? At some point we're going to want to port the various test harnesses Gecko has to servo. That might be worth looking to, so we can start writing basic tests even if we don't impo

[dev-servo] CSS Parsing and Selector matching

2013-05-28 Thread Simon Sapin
Hi, As mentioned before, I have a CSS parser written in Rust that is mostly complete. (It still needs more tests and a bit of catching up with spec changes.) https://github.com/SimonSapin/rust-cssparser/ I’m now looking into integrating it with Servo. The goal it to eventually replace libcs