blog

A Very Useful Conditioner

by

I am talking about a neat developer tool from Apple for use on Mac OS 10.7 and later. It is called Network Link Conditioner. It is a preference pane that, when installed, will appear in the System Preferences application.
Network Link Conditioner allows you to simulate various kinds of network conditions so that you can test your application for different network speeds. And, that is awesome! When installed in System Preferences, this is how the pane looks:
Software screen capture
The tool has pre-defined settings for various network conditions. These settings are called profiles. The built-in set of profiles provide for a wide variety of network conditions as shown here:
Software screen capture
However, you can define additional network scenarios if the built-in profiles do not provide the conditions you want to simulate. To define a specific network condition, you can adjust several factors:
Software screen capture
When developing an application that involves making network calls, especially involving large downloads, this can be very handy in evaluating application behavior under various network conditions.
Be sure to turn this off when you are done with testing your application! I forgot to do that once!

+ more

Accurate Timing

Accurate Timing

In many tasks we need to do something at given intervals of time. The most obvious ways may not give you the best results. Time? Meh. The most basic tasks that don't have what you might call CPU-scale time requirements can be handled with the usual language and...

read more