Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0
Firefox 107
Windows 8.1
Desktop
2 years ago
Test name Executions per second
Attribute 1790408.1 Ops/sec
modify styles - visibility hidden 933724.6 Ops/sec
modify style display none 906253.1 Ops/sec
HTML Preparation code:
Tests:
  • Attribute

  • modify styles - visibility hidden

  • modify style display none