Mimic Low Bandwidth for UI Testing?
Asked Answered
L

8

5

How do you mimic low bandwidth for testing HTML rendering on slow computers? I'm using Safari 4 on a Mac.

Lowis answered 16/2, 2010 at 7:50 Comment(1)
"lower the mimic low bandwidth"... you might check the text thereHekking
I
6

You're probably looking for traffic shaping, in MacOS X it's included in the kernel. Take a look at http://www.macgeekery.com/hacks/software/traffic_shaping_in_mac_os_x

Iconology answered 16/2, 2010 at 7:54 Comment(2)
There's an better solution using Apple's Network Link Conditioner. Have a look at my answer.Northeaster
@ErikAigner Great suggestion! At the time of writing the answer OSX Lion with it's Network Link Conditioner was not released, but you're absolutely correct that this would be the most convenient choice today.Iconology
H
10

Found the SpeedLimit preference tool mentioned in another SO answer. Works for me and is very unobtrusive to use (no application, no command line, no Java).

Hekking answered 18/8, 2010 at 2:35 Comment(1)
This is a great little (app) it's actually a preference pane add in. Works great!Kylakylah
I
6

You're probably looking for traffic shaping, in MacOS X it's included in the kernel. Take a look at http://www.macgeekery.com/hacks/software/traffic_shaping_in_mac_os_x

Iconology answered 16/2, 2010 at 7:54 Comment(2)
There's an better solution using Apple's Network Link Conditioner. Have a look at my answer.Northeaster
@ErikAigner Great suggestion! At the time of writing the answer OSX Lion with it's Network Link Conditioner was not released, but you're absolutely correct that this would be the most convenient choice today.Iconology
N
5

If you have an Apple Developer account, look for the "Hardware IO Tools for Xcode" download. There is a Network Link Conditioner pref-pane included just for that with some good presets for

  • 3G (Average/Good/Lossy)
  • Edge (Average/Good/Lossy)
  • WiFi (Average/Good/Lossy)
  • Cable
  • DSL

Also have a look at this answer

Northeaster answered 5/5, 2013 at 19:55 Comment(0)
D
1

You could set up a local webserver (ie Apache) and use the traffic shaping capabilities thereof.

An article on Apache throttling

I guess most popular webservers support this.

edit:Typos

Dripdry answered 16/2, 2010 at 8:5 Comment(0)
K
1

I'm a big fan of using the Charles Web Debugging Proxy. It allows you to throttle your own bandwidth to simulate different connection speeds (and a whole mess of other stuff, too). Highly recommended.

Kinesics answered 16/2, 2010 at 8:22 Comment(0)
R
0

There is a program by Intrarts called "throttled", and the command-line version seems to be free (price):

throttled is a bandwidth shaping application for Mac OS X and FreeBSD which allows you to cap your upstream bandwidth, prioritize ACK packets, and keep your download speeds high even when your server is sending out at full speed.

...which seems to be a little tangential to your needs, but might be able to be configured to do what you want.

Relevant answered 16/2, 2010 at 8:15 Comment(0)
B
0

I wrote a post on using waterroof to limit bandwidth a while ago.

It uses ipfw under the covers, but has a nice UI for this kind of thing.

Beguine answered 18/2, 2010 at 6:47 Comment(0)
F
0

One option is Trickle for Mac.

Alternatively, if you don't have to use Safari, you could use Firefox with the Firefox Throttle plugin.

Footer answered 2/2, 2011 at 5:52 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.