Run details:
Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko
IE 11
Windows 7
Other
7 years ago
Test name Executions per second
Native XHR 154.1 Ops/sec
Native XHR 2 177.2 Ops/sec
Native fetch.then 0.0 Ops/sec
jQuery Ajax 131.7 Ops/sec
jQuery Ajax (Async) 138.5 Ops/sec
jQuery Get 139.1 Ops/sec
jQuery Get 2 138.4 Ops/sec
jQuery getJSON 129.4 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