Warning: these benchmarks will take a number of seconds to run. Other system activity will cause these benchmarks to skew.
The results should not be compared between browsers for they are run on different systems, however results for the same browser are relative to each other.
IE | Safari | Gecko | |
---|---|---|---|
with()
with(foo.bar.node.style){ position="relative"; ... } | 516 | 747 | 891 |
direct access
foo.bar.node.style.position="relative"; ... | 703 | 806 | 1297 |
using temp variable
var x = foo.bar.node.style; x.position="relative"; ... | 500 | 720 | 796 |