Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6
Safari 11
Mac OS X 10.13.3
Other
2025 years ago
Test name Executions per second
Native XHR 16958.2 Ops/sec
Native XHR 2 17340.6 Ops/sec
Native fetch.then 20473.0 Ops/sec
jQuery Ajax 6597.0 Ops/sec
jQuery Ajax (Async) 6669.5 Ops/sec
jQuery Get 6556.4 Ops/sec
jQuery Get 2 6486.2 Ops/sec
jQuery getJSON 6334.1 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


;