Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Mobile/15E148 Safari/604.1
Mobile Safari 15
iOS 15.6.1
Mobile
2 years ago
Test name Executions per second
Singles - x/y attribute 113.8 Ops/sec
Singles - translate & rotate 153.3 Ops/sec
Single - translate & rotate seperate 150.9 Ops/sec
Single - translate & rotate 3d 154.8 Ops/sec
Group - translate & rotate 275.4 Ops/sec
Group - translate & rotate seperate 271.2 Ops/sec
Group - translate & rotate 3d 272.1 Ops/sec
Single - matrix with rotate 108.5 Ops/sec
Group - matrix with rotate 195.6 Ops/sec
Single - matrix3d with rotate 140.5 Ops/sec
Group - matrix3d with rotate 243.1 Ops/sec
Group - matrix2d direct with rotate 253.3 Ops/sec
Group - matrix2d set with style.transform 121.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Singles - x/y attribute

  • Singles - translate & rotate

  • Single - translate & rotate seperate

  • Single - translate & rotate 3d

  • Group - translate & rotate

  • Group - translate & rotate seperate

  • Group - translate & rotate 3d

  • Single - matrix with rotate

  • Group - matrix with rotate

  • Single - matrix3d with rotate

  • Group - matrix3d with rotate

  • Group - matrix2d direct with rotate

  • Group - matrix2d set with style.transform