Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36
Chrome 64
Mac OS X 10.11.6
Other
2025 years ago
Test name Executions per second
Native XHR 6482.7 Ops/sec
Native XHR 2 6854.2 Ops/sec
Native fetch.then 8084.8 Ops/sec
jQuery Ajax 3749.6 Ops/sec
jQuery Ajax (Async) 3758.9 Ops/sec
jQuery Get 3676.5 Ops/sec
jQuery Get 2 3751.3 Ops/sec
jQuery getJSON 3650.3 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


;