Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Firefox 133
Windows
Desktop
22 days ago
Test name Executions per second
pure function 382.6 Ops/sec
class method 168.2 Ops/sec
function method 11.4 Ops/sec
Script Preparation code:
Tests:
  • pure function

  • class method

  • function method