Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:56.0) Gecko/20100101 Firefox/56.0
Firefox 56
Mac OS X 10.12
Other
7 years ago
Test name Executions per second
Native XHR 5667.2 Ops/sec
Native XHR 2 4974.2 Ops/sec
Native fetch.then 6094.0 Ops/sec
jQuery Ajax 1504.2 Ops/sec
jQuery Ajax (Async) 2169.4 Ops/sec
jQuery Get 2235.8 Ops/sec
jQuery Get 2 2327.2 Ops/sec
jQuery getJSON 2263.4 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