Changeset 140348 in webkit


Ignore:
Timestamp:
Jan 21, 2013 11:31:56 AM (11 years ago)
Author:
joone.hur@intel.com
Message:

[EFL] API unit tests are running extremely slow on the bots
https://bugs.webkit.org/show_bug.cgi?id=104665

Reviewed by Gyuyoung Kim.

Clear HTTP cache files before running the unit tests, which prevents
performance degradation due to so many cache files.

  • UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestBase.cpp:

(EWK2UnitTest::EWK2UnitTestBase::SetUp):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r140337 r140348  
     12013-01-21  Joone Hur  <joone.hur@intel.com>
     2
     3        [EFL] API unit tests are running extremely slow on the bots
     4        https://bugs.webkit.org/show_bug.cgi?id=104665
     5
     6        Reviewed by Gyuyoung Kim.
     7
     8        Clear HTTP cache files before running the unit tests, which prevents
     9        performance degradation due to so many cache files.
     10
     11        * UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestBase.cpp:
     12        (EWK2UnitTest::EWK2UnitTestBase::SetUp):
     13
    1142013-01-21  Gustavo Noronha Silva  <gns@gnome.org>
    215
  • trunk/Source/WebKit2/UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestBase.cpp

    r137278 r140348  
    6363    Ewk_Context* newContext = ewk_context_new();
    6464    m_webView = ewk_view_smart_add(evas, smart, newContext);
     65    // Clear HTTP cache files before running the unit tests, which prevents
     66    // performance degradation due to so many cache files.
     67    ewk_context_resource_cache_clear(newContext);
    6568    ewk_object_unref(newContext);
    6669
Note: See TracChangeset for help on using the changeset viewer.