Test name | Executions per second |
---|---|
Select Element by ID - Javascript | 8980433.0 Ops/sec |
Add and remove Element - jQuery | 216773.0 Ops/sec |
Add and remove Element - Javascript | 1839136.0 Ops/sec |
Loop through elements - jQuery | 154941.1 Ops/sec |
Loop through elements - Javascript | 524786.9 Ops/sec |
Select sub-element - jQuery | 3439698.0 Ops/sec |
Select sub-element - Javascript | 1498517.9 Ops/sec |
Get element by class name - jQuery | 2264442.2 Ops/sec |
Get element by class name - Javascript | 9321017.0 Ops/sec |
Get element by existing attribute - jQuery | 117826.3 Ops/sec |
Get element by existing attribute - Javascript | 126611.3 Ops/sec |
Get element by name - jQuery | 116502.9 Ops/sec |
Get element by name - Javascript | 127658.2 Ops/sec |
Get element by tag name - jQuery | 2409280.8 Ops/sec |
Get element by tag name - Javascript | 9489680.0 Ops/sec |
Change inner text - jQuery | 1678677.4 Ops/sec |
Change inner text - Javascript | 7439284.5 Ops/sec |
Select Element by ID - jQuery | 9416997.0 Ops/sec |
Change CSS - Javascript | 1621382.2 Ops/sec |
Change CSS - jQuery | 769184.0 Ops/sec |
Add and Remove Class - Javascript | 1416983.0 Ops/sec |
Add and Remove Class - jQuery | 538526.9 Ops/sec |