且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

模拟最烂的网速

更新时间:2022-09-14 23:32:17

How to install Apple’s Network Link Conditioner

Instructions current as of December 8, 2014 – OS X Yosemite 10.10

  1. Install Xcode if you don’t have it

  2. Open XCode and go to Xcode › Open Developer Tool › More Developer Tools…

    模拟最烂的网速

  3. Download Hardware IO Tools for Xcode

模拟最烂的网速

  1. Open the downloaded disk image and double-click the .prefpane to install it.

    模拟最烂的网速

    模拟最烂的网速

  2. There we go!

    模拟最烂的网速

  3. Be sure to turn it on. You need to select a profile and enable the network conditioner with the big toggle that should be familiar from the Time Machine prefpane.

    模拟最烂的网速

Caveat

This won't affect localhost, so be sure to use a staging server or co-worker's computer to simulate slow network connections to an API you’re running yourself. You may find https://ngrok.com/helpful in this regard.

 
欢迎加群互相学习,共同进步。QQ群:iOS: 58099570 | Android: 572064792 | Nodejs:329118122 做人要厚道,转载请注明出处!
















本文转自张昺华-sky博客园博客,原文链接:http://www.cnblogs.com/sunshine-anycall/p/4344578.html,如需转载请自行联系原作者