Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36
Chrome 64
Mac OS X 10.10.4
Other
2025 years ago
Test name Executions per second
Native XHR 4156.9 Ops/sec
Native XHR 2 4378.9 Ops/sec
Native fetch.then 5072.3 Ops/sec
jQuery Ajax 2077.3 Ops/sec
jQuery Ajax (Async) 2204.1 Ops/sec
jQuery Get 2213.5 Ops/sec
jQuery Get 2 2284.4 Ops/sec
jQuery getJSON 2378.1 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