Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0
Firefox 52
Windows
Other
2025 years ago
Test name Executions per second
Native XHR 10173.7 Ops/sec
Native XHR 2 10694.1 Ops/sec
Native fetch.then 10235.9 Ops/sec
jQuery Ajax 3681.5 Ops/sec
jQuery Ajax (Async) 3417.4 Ops/sec
jQuery Get 3715.5 Ops/sec
jQuery Get 2 3261.9 Ops/sec
jQuery getJSON 3037.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