Changeset 249102 in webkit
- Timestamp:
- Aug 26, 2019, 10:21:28 AM (7 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/webkitpy/xcode/simulated_device.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r249100 r249102 1 2019-08-26 Jonathan Bedard <jbedard@apple.com> 2 3 run-webkit-tests: Cap the number of automatically booted simulators at 12 4 https://bugs.webkit.org/show_bug.cgi?id=201139 5 6 Reviewed by Aakash Jain. 7 8 To make local development with simulators more pleasant, machines should 9 never automatically boot more than 12 simulators. 10 11 * Scripts/webkitpy/xcode/simulated_device.py: 12 (SimulatedDeviceManager.max_supported_simulators): 13 1 14 2019-08-26 Aakash Jain <aakash_jain@apple.com> 2 15 -
trunk/Tools/Scripts/webkitpy/xcode/simulated_device.py
r248451 r249102 68 68 PROCESS_COUNT_ESTIMATE_PER_SIMULATOR_INSTANCE = 125 69 69 70 # Testing on iMac Pros has indicated that more than 12 simulators, even if we seem to have enough resources for them, 71 # results in diminishing returns. 72 MAX_NUMBER_OF_SIMULATORS = 12 73 70 74 xcrun = '/usr/bin/xcrun' 71 75 simulator_device_path = '~/Library/Developer/CoreSimulator/Devices' … … 418 422 return 0 419 423 420 max_supported_simulators_for_hardware = min(host.executive.cpu_count() / 2, host.platform.total_bytes_memory() // SimulatedDeviceManager.MEMORY_ESTIMATE_PER_SIMULATOR_INSTANCE) 424 max_supported_simulators_for_hardware = min( 425 host.executive.cpu_count() // 2, 426 host.platform.total_bytes_memory() // SimulatedDeviceManager.MEMORY_ESTIMATE_PER_SIMULATOR_INSTANCE, 427 SimulatedDeviceManager.MAX_NUMBER_OF_SIMULATORS, 428 ) 421 429 max_supported_simulators_locally = (system_process_count_limit - current_process_count) // SimulatedDeviceManager.PROCESS_COUNT_ESTIMATE_PER_SIMULATOR_INSTANCE 422 430
Note:
See TracChangeset
for help on using the changeset viewer.