Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
Firefox 54
Windows 7
Other
7 years ago
Test name Executions per second
Native XHR 316.2 Ops/sec
Native XHR 2 419.2 Ops/sec
Native fetch.then 376.0 Ops/sec
jQuery Ajax 157.7 Ops/sec
jQuery Ajax (Async) 201.6 Ops/sec
jQuery Get 303.8 Ops/sec
jQuery Get 2 339.4 Ops/sec
jQuery getJSON 335.0 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


;