Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
Firefox 59
Linux
Other
2025 years ago
Test name Executions per second
Native XHR 723.1 Ops/sec
Native XHR 2 663.5 Ops/sec
Native fetch.then 1104.0 Ops/sec
jQuery Ajax 232.2 Ops/sec
jQuery Ajax (Async) 204.9 Ops/sec
jQuery Get 208.8 Ops/sec
jQuery Get 2 245.3 Ops/sec
jQuery getJSON 237.2 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