Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Safari/537.36
Chrome 74
Windows
Desktop
5 years ago
Test name Executions per second
NATIVE XHR 3663.3 Ops/sec
NATIVE XHR 2 3485.2 Ops/sec
NATIVE FETCH 3409.4 Ops/sec
JQUERY AJAX 1482.2 Ops/sec
JQUERY AJAX ASYNC 1795.8 Ops/sec
JQUERY GET 1854.4 Ops/sec
JQUERY GET 2 2162.0 Ops/sec
JQUERY GETJSON 1966.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • NATIVE XHR

  • NATIVE XHR 2

  • NATIVE FETCH

  • JQUERY AJAX

  • JQUERY AJAX ASYNC

  • JQUERY GET

  • JQUERY GET 2

  • JQUERY GETJSON