Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.87 Safari/537.36
Chrome 54
Windows
Other
8 years ago
Test name Executions per second
Native XHR 4612.2 Ops/sec
Navtive XHR 2 4750.5 Ops/sec
fetch 5167.2 Ops/sec
jQuery Ajax 2553.4 Ops/sec
jQuery Ajax (Async) 2468.3 Ops/sec
jQuery Get 2388.4 Ops/sec
jQuery Get 2 2277.7 Ops/sec
jQuery getJSON 1909.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


;