Run details:
Mozilla/5.0 (Linux; Android 10; Redmi Note 8 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Mobile Safari/537.36
Chrome Mobile 89
Android
Mobile
3 years ago
Test name Executions per second
Attribute 754933.2 Ops/sec
modify styles - visibility hidden 296957.4 Ops/sec
modify style display none 243670.7 Ops/sec
HTML Preparation code:
Tests:
  • Attribute

  • modify styles - visibility hidden

  • modify style display none