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 1086298.9 Ops/sec
new Class 151092.0 Ops/sec
new Function 146534.6 Ops/sec
new Class singletone function 146114.1 Ops/sec
function lexical 1217434.4 Ops/sec
Tests:
  • function instance

  • new Class

  • new Function

  • new Class singletone function

  • function lexical