Is there any way to detect if a computer is slow and not run some code (by either turning jQuery animations off or just running a function if it is fast)?
I know this question is probably really trivial, but I noticed that on some slower computers even the simplest margin animation to move something is done in flashes that doesn't look very nice.
Update:
The code I'm trying to run is simply a bunch of animations; they all take the same amount of time but on slower browsers the animation is segmented like what you see when you watch a video that is buffering.