Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36
Chrome 60
Mac OS X 10.12.4
Other
7 years ago
Test name Executions per second
Native XHR 6939.0 Ops/sec
Native XHR 2 8372.1 Ops/sec
Native fetch.then 9828.0 Ops/sec
jQuery Ajax 3286.5 Ops/sec
jQuery Ajax (Async) 3471.2 Ops/sec
jQuery Get 3362.8 Ops/sec
jQuery Get 2 3494.6 Ops/sec
jQuery getJSON 3218.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


;