diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-01-15 13:23:55 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-15 13:23:55 -0800 |
commit | ad1b11771b93ced67b409436c7bf0f493ec4663a (patch) | |
tree | 56432c59bbd10789a2d5a03ee9898bbc4105c93e /components/script/dom/htmliframeelement.rs | |
parent | 747e130295bc6dce8448a69bfdb01d2216f71738 (diff) | |
parent | a6a1d8382a7aadbd8393191cb241827b290888cf (diff) | |
download | servo-ad1b11771b93ced67b409436c7bf0f493ec4663a.tar.gz servo-ad1b11771b93ced67b409436c7bf0f493ec4663a.zip |
Auto merge of #14995 - servo:codegen-units, r=mbrubeck
Enable codegen-units=4 in debug mode
We previously had this and removed it because it caused runtime slowdowns
(discussion in #11102), but that was in release mode.
Debug mode is already very slow at runtime.
In my opinion, debug mode is mostly for the edit-compile-test cycle
which is currently dominated by compile times, so sacrificing runtime for compile time makes sense.
I’ve observed a ~30% improvement of compile times with this. This figure is consistent between a very fast desktop with 4 cores / 8 threads and a not-as-fast laptop with 2 cores / 4 threads.
<!-- 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: -->
- [x] `./mach build -d` does not report any errors
- [x] `./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 _____
<!-- 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/14995)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/htmliframeelement.rs')
0 files changed, 0 insertions, 0 deletions