Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36
Chrome 60
Fedora
Other
7 years ago
Test name Executions per second
$(selector, context) 818506.4 Ops/sec
$(selector, $context) 2116584.2 Ops/sec
$(selector).find(selector) 289468.1 Ops/sec
$context.find(selector) 4760734.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $(selector, context)

  • $(selector, $context)

  • $(selector).find(selector)

  • $context.find(selector)


;