Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:90.0) Gecko/20100101 Firefox/90.0
Firefox 90
Mac OS X 10.15
Desktop
3 years ago
Test name Executions per second
Attribute 2116777.0 Ops/sec
modify styles - visibility hidden 1118711.2 Ops/sec
modify style display none 1105472.5 Ops/sec
HTML Preparation code:
Tests:
  • Attribute

  • modify styles - visibility hidden

  • modify style display none