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 upstyle: Get rid of gecko_size_type. #19966
Conversation
highfive
commented
Feb 6, 2018
|
Heads up! This PR modifies the following files:
|
highfive
commented
Feb 6, 2018
|
r? @nox (pending geckotry) |
|
https://treeherder.mozilla.org/#/jobs?repo=try&revision=faa6f3bbe94bc5c5b835d3aa8f02d3bd333de2a7 Is the try run, let's see if I haven't messed up. |
This also fixes a style sharing issue with MaxLength, anecdotally.
|
I did indeed mess up, since I overlooked the https://treeherder.mozilla.org/#/jobs?repo=try&revision=d49ad62ceb6430020ebbdc8dba4b24b7b27db347 |
|
r=me with the green geckotry, nice work. |
|
@bors-servo r=nox |
|
|
style: Get rid of gecko_size_type. It's a hack, should die. <!-- 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/19966) <!-- Reviewable:end -->
|
|
Followup to servo#19966 because, well... The animation code should probably be more obvious.
ionutgoldan
commented
Feb 13, 2018
|
Performance improvements noticed, thanks to this! == Change summary for alert #11496 (as of Wed, 07 Feb 2018 01:02:13 GMT) == Improvements: 7% Stylo Servo_DeclarationBlock_SetPropertyById_Bench osx-10-10 opt 536,227.96 -> 497,745.25 For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=11496 |
|
Whoa, that's awesome. @emilio, does that make sense to you? I don't know what gecko_size_type was or what it did. |
|
It's possible that these wins might instead be attributable to #19956, which landed on the same day, and seems more likely to have affected these benchmarks? |
|
Yeah, this PR removes some extra indirection and branches, but unless the property is |
|
Actually the properties that those are benchmarking is |
|
Probably a combination of the two. |
emilio commentedFeb 6, 2018
•
edited by SimonSapin
It's a hack, should die.
This change is