Recent refactoring for the Window object's JS bindings has caused a 1% speed regression in JavaScript iBench and the "Celtic Kane" JavaScript speed test <http://celtickane.com/projects/jsspeed.php>. It shows up as 3% on the math test of that benchmark specifically. Inlining Window::impl() and DOMWindow::frame() fixes the regression.
<rdar://problem/5353174>
Created attachment 15639 [details] the fix - inline some new methods
Comment on attachment 15639 [details] the fix - inline some new methods + Frame* frame() { return m_frame; } Seems like this should be a const method -- I wonder if anything depends on it not being one? r=me
Fixed - I did not try to make any tweaks to const-correctness for now.