Closed Bug 1394290 Opened 3 years ago Closed 3 years ago
Optimize Proxy::get for Proxy
59 bytes, text/x-review-board-request
Spin off from bug 1380061, what we should do here: - Optimize ValueToWindowProxyIfWindow for the case when |v == ObjectValue(*proxy)| - Optimize away |RootedValue receiver| because ProxyGet* have the same declaration Neglect removing CheckRecursionLimit because it doesn't worth it.
In bug 1380061 comment 19 I said the numbers weren't improved on Windows, but it's not the case. For some reasons, the changes in Proxy.cpp didn't get compiled. The patch improves about 10%.
Comment on attachment 8901718 [details] Bug 1394290 - Optimize Proxy::get/set by avoiding unnecessary receiver checking. https://reviewboard.mozilla.org/r/173154/#review178626 Looks great, thanks!
Attachment #8901718 - Flags: review?(jdemooij) → review+
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/3880b9e6ada6 Optimize Proxy::get/set by avoiding unnecessary receiver checking. r=jandem
You need to log in before you can comment on or make changes to this bug.