Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0
Firefox 58
Windows 7
Other
2025 years ago
Test name Executions per second
Native XHR 5650.8 Ops/sec
Native XHR 2 2888.5 Ops/sec
Native fetch.then 3159.1 Ops/sec
jQuery Ajax 3273.3 Ops/sec
jQuery Ajax (Async) 3385.9 Ops/sec
jQuery Get 3602.1 Ops/sec
jQuery Get 2 3051.9 Ops/sec
jQuery getJSON 3436.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


;