Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Firefox 57
Windows
Other
7 years ago
Test name Executions per second
Native XHR 3757.7 Ops/sec
Native XHR 2 3311.8 Ops/sec
Native fetch.then 2909.8 Ops/sec
jQuery Ajax 1741.6 Ops/sec
jQuery Ajax (Async) 1689.7 Ops/sec
jQuery Get 1966.3 Ops/sec
jQuery Get 2 1896.2 Ops/sec
jQuery getJSON 1543.0 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