Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0
Firefox 53
Windows
Other
7 years ago
Test name Executions per second
Native XHR 5516.9 Ops/sec
Native XHR 2 5503.1 Ops/sec
Native fetch.then 6956.0 Ops/sec
jQuery Ajax 2679.4 Ops/sec
jQuery Ajax (Async) 2559.3 Ops/sec
jQuery Get 2698.6 Ops/sec
jQuery Get 2 2460.7 Ops/sec
jQuery getJSON 2666.7 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