Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
Firefox 59
Windows 7
Other
2025 years ago
Test name Executions per second
Native XHR 3904.0 Ops/sec
Native XHR 2 4519.1 Ops/sec
Native fetch.then 3885.1 Ops/sec
jQuery Ajax 1462.4 Ops/sec
jQuery Ajax (Async) 1732.7 Ops/sec
jQuery Get 2097.2 Ops/sec
jQuery Get 2 1977.2 Ops/sec
jQuery getJSON 2387.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


;