Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
Chrome 106
Linux
Desktop
one year ago
Test name Executions per second
Attribute 1697872.9 Ops/sec
modify styles - visibility hidden 780297.4 Ops/sec
modify style display none 707910.0 Ops/sec
HTML Preparation code:
Tests:
  • Attribute

  • modify styles - visibility hidden

  • modify style display none