Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36
Chrome 104
Linux
Desktop
2 years ago
Test name Executions per second
Single - opacity - setAttribute - opacity 152.2 Ops/sec
Single - opacity - style.opacity 73.3 Ops/sec
Group - opacity - setAttribute - Fill 296.0 Ops/sec
Group - opacity - style.opacity 148.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Single - opacity - setAttribute - opacity

  • Single - opacity - style.opacity

  • Group - opacity - setAttribute - Fill

  • Group - opacity - style.opacity