Commit 07a1c4de authored by weinig@apple.com's avatar weinig@apple.com

2009-04-27 Sam Weinig <sam@webkit.org>

        Reviewed by Geoffrey Garen.

        Fix for <rdar://problem/6772944> REGRESSION (r42223): PLT 2% slower, i-Bench 3% slower

        Be slightly less eager in collecting after page close/navigation by increasing
        the time before collection from 0 seconds to .5 seconds.

        3% speedup on the PLT.

        * bindings/js/GCController.cpp:
        (WebCore::GCController::garbageCollectSoon):



git-svn-id: svn://svn.chromium.org/blink/trunk@42910 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent dd4ad89c
2009-04-27 Sam Weinig <sam@webkit.org>
Reviewed by Geoffrey Garen.
Fix for <rdar://problem/6772944> REGRESSION (r42223): PLT 2% slower, i-Bench 3% slower
Be slightly less eager in collecting after page close/navigation by increasing
the time before collection from 0 seconds to .5 seconds.
3% speedup on the PLT.
* bindings/js/GCController.cpp:
(WebCore::GCController::garbageCollectSoon):
2009-04-27 David Kilzer <ddkilzer@apple.com> 2009-04-27 David Kilzer <ddkilzer@apple.com>
Consolidate runtime application checks for Apple Mail and Safari Consolidate runtime application checks for Apple Mail and Safari
...@@ -65,7 +65,7 @@ GCController::GCController() ...@@ -65,7 +65,7 @@ GCController::GCController()
void GCController::garbageCollectSoon() void GCController::garbageCollectSoon()
{ {
if (!m_GCTimer.isActive()) if (!m_GCTimer.isActive())
m_GCTimer.startOneShot(0); m_GCTimer.startOneShot(0.5);
} }
void GCController::gcTimerFired(Timer<GCController>*) void GCController::gcTimerFired(Timer<GCController>*)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment