Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
Chrome 53
Linux
Other
7 years ago
Test name Executions per second
Intelligent selectors - not stored 1417.5 Ops/sec
Intelligent selectors, in filter, with .end 3007.7 Ops/sec
Filter by function with .end 2577.8 Ops/sec
Intelligent selectors in filter - stored 3106.8 Ops/sec
Clear all, set only required 3267.8 Ops/sec
HTML Preparation code:
Tests:
  • Intelligent selectors - not stored

  • Intelligent selectors, in filter, with .end

  • Filter by function with .end

  • Intelligent selectors in filter - stored

  • Clear all, set only required