jQuery test case vs Vanilla JS test caseFastest: Vanilla JS test case (1.3x faster)
17,144 ops/sec
13,535 ops/sec
Fastest: Vanilla JS test case (1.9x faster)
12,510 ops/sec
6,505 ops/sec
Fastest: Vanilla JS test case (1.4x faster)
3,013 ops/sec
2,098 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| jQuery test case | |
| Vanilla JS test case |
| Test name | Executions per second |
|---|---|
| ✓ Vanilla JS test case | 5,648 Ops/sec |
| jQuery test case | 3,214 Ops/sec |