Commit Graph
2 Commits
Author SHA1 Message Date
Josh Matthews 767d747f71 servo: Merge #12980 - Fix ridiculous DOM proxy getter performance (from jdm:proxychanges); r=nox
This implements the missing shadowing checks that were causing us to take many slow paths when dealing with proxy objects. Verified by running `tests/html/binding_perf.html` before and after and observing a 12x improvement.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #12357
- [X] These changes do not require tests because we can't test performance yet.

Source-Repo: https://github.com/servo/servo
Source-Revision: 78344754826e938c004a83a21c898552a8e77b17
2016-08-25 06:31:46 -05:00
Josh Matthews e9446c5f4f servo: Merge #12449 - Add a manual test for measuring DOM binding performance (from servo:jdm-patch-1); r=Ms2ger
This is the test harness I've been using for profiling and measuring in #12354.

Source-Repo: https://github.com/servo/servo
Source-Revision: f2efc0011ab229718181175a2637bbc4ce70cd0c
2016-07-15 02:21:19 -07:00