Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36
Chrome 65
Mac OS X 10.13.3
Other
6 years ago
Test name Executions per second
Native XHR 5880.3 Ops/sec
Native XHR 2 6200.8 Ops/sec
Native fetch.then 7364.6 Ops/sec
jQuery Ajax 3414.9 Ops/sec
jQuery Ajax (Async) 3003.5 Ops/sec
jQuery Get 2983.1 Ops/sec
jQuery Get 2 3185.3 Ops/sec
jQuery getJSON 3306.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


;