Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
Chrome 59
Mac OS X 10.11.6
Other
7 years ago
Test name Executions per second
Native XHR 10246.7 Ops/sec
Native XHR 2 8420.1 Ops/sec
Native fetch.then 9468.6 Ops/sec
jQuery Ajax 3100.8 Ops/sec
jQuery Ajax (Async) 3278.5 Ops/sec
jQuery Get 2658.5 Ops/sec
jQuery Get 2 2348.7 Ops/sec
jQuery getJSON 2109.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


;