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 upImprove performance of HTMLDivElement constructor #12374
Conversation
highfive
commented
Jul 10, 2016
|
Heads up! This PR modifies the following files:
|
highfive
commented
Jul 10, 2016
|
Are there performance metrics of how much this patch helps with speed? |
|
@bors-servo r+ |
|
|
Improve performance of HTMLDivElement constructor These changes address two sources of performance loss seen while profiling in #12354. #12358 and rust-lang/rust#34727 are still the biggest offenders, however. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes do not require tests because we don't have performance tests and these are only optimizations <!-- 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/12374) <!-- Reviewable:end -->
|
|
|
AFAIK the |
|
@bors-servo: retry |
|
|
|
|
|
@jdm do other element constructors need similar changes? |
|
Looks like most elements could benefit from it. |
jdm commentedJul 10, 2016
•
edited by larsbergstrom
These changes address two sources of performance loss seen while profiling in #12354. #12358 and rust-lang/rust#34727 are still the biggest offenders, however.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is