⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 200175 in webkit


Ignore:
Timestamp:
Apr 27, 2016, 11:46:49 PM (10 years ago)
Author:
ap@apple.com
Message:

Don't throttle GuardMalloc on 8-core Macs
​https://bugs.webkit.org/show_bug.cgi?id=157108

Reviewed by Alex Christensen.

This was making them slower unnecessarily.

  • Scripts/webkitpy/port/mac.py: (MacPort.default_child_processes):
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r200112 r200175  
     12016-04-27  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Don't throttle GuardMalloc on 8-core Macs
     4        https://bugs.webkit.org/show_bug.cgi?id=157108
     5
     6        Reviewed by Alex Christensen.
     7
     8        This was making them slower unnecessarily.
     9
     10        * Scripts/webkitpy/port/mac.py: (MacPort.default_child_processes):
     11
    1122016-04-26  Konstantin Tokarev  <annulen@yandex.ru>
    213
  • trunk/Tools/Scripts/webkitpy/port/mac.py

    r199573 r200175  
    156156        # We also want to throttle for leaks bots.
    157157        if should_throttle_for_wk2 or self.get_option('leaks'):
    158             if self.get_option('guard_malloc'):
    159                 # Some 12 core Macs get a lot of tests time out when running 18 WebKitTestRunner processes (it's not clear what this depends on).
    160                 # Running 12 processes resolves this, and doesn't seem to introduce a measurable performance degradation on other machines.
    161                 default_count = int(.5 * default_count)
    162             else:
    163                 default_count = int(.75 * default_count)
     158            default_count = int(.75 * default_count)
     159
     160        if should_throttle_for_wk2 and self.get_option('guard_malloc'):
     161            # Some 12 core Macs get a lot of tests time out when running 18 WebKitTestRunner processes (it's not clear what this depends on).
     162            # <rdar://problem/25750302>
     163            default_count = min(default_count, 12)
    164164
    165165        # Make sure we have enough ram to support that many instances:
Note: See TracChangeset for help on using the changeset viewer.