Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
Firefox 59
Linux
Other
6 years ago
Test name Executions per second
Native XHR 5512.2 Ops/sec
Native XHR 2 5498.6 Ops/sec
Native fetch.then 5195.2 Ops/sec
jQuery Ajax 2619.4 Ops/sec
jQuery Ajax (Async) 2567.6 Ops/sec
jQuery Get 2822.5 Ops/sec
jQuery Get 2 2374.7 Ops/sec
jQuery getJSON 2706.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Native XHR

  • Native XHR 2

  • Native fetch.then

  • jQuery Ajax

  • jQuery Ajax (Async)

  • jQuery Get

  • jQuery Get 2

  • jQuery getJSON