Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.79 Safari/537.36
Chrome 61
Mac OS X 10.13.0
Other
7 years ago
Test name Executions per second
Native XHR 3878.1 Ops/sec
Native XHR 2 4189.6 Ops/sec
Native fetch.then 5039.3 Ops/sec
jQuery Ajax 1848.6 Ops/sec
jQuery Ajax (Async) 1875.3 Ops/sec
jQuery Get 1992.5 Ops/sec
jQuery Get 2 2049.2 Ops/sec
jQuery getJSON 1896.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