Test name | Executions per second |
---|---|
1 div with javascript | 1456387.1 Ops/sec |
1 div with jquery selector | 1273883.9 Ops/sec |
2 divs with javascript. Add with jquery | 293731.6 Ops/sec |
2 divs with 2 jquery selectors. Add with jquery | 280351.8 Ops/sec |
2 divs with javascript. Add with array | 784347.2 Ops/sec |
2 divs with 2 jquery selectors. Add with array | 443932.1 Ops/sec |
2 divs with single jquery selector | 313.4 Ops/sec |
1 div with jquery selector with context | 540316.4 Ops/sec |