First, I would try to optimize your code. Make sure that you are
calling as few $() methods as possible.
(e.g. build strings and set with html() instead of repeatedly calling
append() or after(). Firebug can also help you profile.)
But if your code is as tight as it can be, then why not a
1/ detect user setup or perform some tests, to determine the available CPU,
graphic Card, RAM, browser,OS. It may not even be necessary to know these
datas, if we run a test that just tells us if the end user specs are speedy
or not.
2/ send a different javscript file according to the
beyond a given value, serve a reduced_effects.js file instead of
the full_effects.js file :)
i'll do some tests. If i come up with something useful for the community, i'll
hit back in !
Subject: [jQuery] Re: OT: how to benchmark user hardware?
Date: 22/1/2008 13:18:31
1/ detect user setup
On Jan 22, 2008, at 2:18 PM, Fabien Meghazi wrote:
1/ detect user setup or perform some tests, to determine the
available CPU, graphic Card, RAM, browser,OS. It may not even be
necessary to know these datas, if we run a test that just tells us
if the end user specs are speedy or not.
4 matches
Mail list logo