首页 > 其他 > 详细

模拟最烂的网速

时间:2015-03-17 17:14:28      阅读:239      评论:0      收藏:0      [点我收藏+]

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.

 

模拟最烂的网速

原文:http://www.cnblogs.com/sunshine-anycall/p/4344578.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!