async function throttle(session, settings) {
  if (settings.throttlingMethod !== 'devtools') return clearNetworkThrottling(session);

  await Promise.all([
    enableNetworkThrottling(session, settings.throttling),
    enableCPUThrottling(session, settings.throttling),
  ]);
}
Sets the throttling options specified in config settings, clearing existing network throttling if
throttlingMethod is not `devtools` (but not CPU throttling, suspected requirement of WPT-compat).

@param {LH.Gatherer.ProtocolSession} session
@param {LH.Config.Settings} settings
@return {Promise<void>}