Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
Chrome 61
Mac OS X 10.11.6
Other
7 years ago
Test name Executions per second
Native XHR 6439.9 Ops/sec
Native XHR 2 7500.5 Ops/sec
Native fetch.then 8908.9 Ops/sec
jQuery Ajax 3216.6 Ops/sec
jQuery Ajax (Async) 2774.4 Ops/sec
jQuery Get 2829.9 Ops/sec
jQuery Get 2 2287.3 Ops/sec
jQuery getJSON 2716.9 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


;