Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/603.2.4 (KHTML, like Gecko) Version/10.1.1 Safari/603.2.4
Safari 10
Mac OS X 10.12.5
Other
7 years ago
Test name Executions per second
Native XHR 39748.1 Ops/sec
Native XHR 2 40363.5 Ops/sec
Native fetch.then 54088.9 Ops/sec
jQuery Ajax 10660.4 Ops/sec
jQuery Ajax (Async) 10666.7 Ops/sec
jQuery Get 9839.5 Ops/sec
jQuery Get 2 9728.2 Ops/sec
jQuery getJSON 9070.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


;