Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Chrome 116
Windows
Desktop
one year ago
Test name Executions per second
function instance 642227.1 Ops/sec
new Class 120213.5 Ops/sec
new Function 127897.1 Ops/sec
new Class singletone function 127595.4 Ops/sec
function lexical 898264.4 Ops/sec
Tests:
  • function instance

  • new Class

  • new Function

  • new Class singletone function

  • function lexical