Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0
Firefox 81
Windows
Desktop
4 years ago
Test name Executions per second
Attribute 1010550.7 Ops/sec
modify styles - visibility hidden 436096.3 Ops/sec
modify style display none 416753.4 Ops/sec
HTML Preparation code:
Tests:
  • Attribute

  • modify styles - visibility hidden

  • modify style display none


;