Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Chrome 63
Mac OS X 10.13.2
Other
2025 years ago
Test name Executions per second
Native XHR 3717.8 Ops/sec
Native XHR 2 5061.3 Ops/sec
Native fetch.then 5414.1 Ops/sec
jQuery Ajax 1827.8 Ops/sec
jQuery Ajax (Async) 2135.2 Ops/sec
jQuery Get 1875.0 Ops/sec
jQuery Get 2 2241.4 Ops/sec
jQuery getJSON 1788.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


;