Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 12_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 [FBAN/MessengerForiOS;FBDV/iPhone8,1;FBMD/iPhone;FBSN/iOS;FBSV/12.3.1;FBSS/2;FBID/phone;FBLC/tr_TR;FBOP/5]
Mobile Safari 12
iOS 12.3.1
Mobile
5 years ago
Test name Executions per second
Vanilla Get ID 2944637.2 Ops/sec
Vanilla Get Text 2659122.5 Ops/sec
Vanilla Get Html 1741268.0 Ops/sec
Cash Get ID 1655110.8 Ops/sec
Cash Get Text 1436277.2 Ops/sec
Cash Get Html 1023746.2 Ops/sec
jQuery Get ID 1318828.9 Ops/sec
jQuery Get Text 777015.8 Ops/sec
jQuery Get Html 668220.2 Ops/sec
HTML Preparation code:
Tests:
  • Vanilla Get ID

  • Vanilla Get Text

  • Vanilla Get Html

  • Cash Get ID

  • Cash Get Text

  • Cash Get Html

  • jQuery Get ID

  • jQuery Get Text

  • jQuery Get Html