Benchmark jQuery AJAX wrapper vs Fetch API that shows the power of Vanilla JS
Checked test: jQuery x 20,305 ops/sec ±5.52% (61 runs sampled) => 50ms execution time
Checked test: Vanilla JS x 26,853 ops/sec ±6.86% (56 runs sampled) => 38ms execution time
Comparing performance of: jQuery test case vs Vanilla JS test case
Memory measurements supported only in Chrome.
For precise memory measurements Chrome must be launched with --enable-precise-memory-info flag.
More information: Monitoring JavaScript Memory
Test case name
Result
jQuery test case
Vanilla JS test case
Fastest:N/A
Slowest:N/A
Latest run results:
Run details: (Test run date:
24 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0