Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0
Firefox 112
Windows
Desktop
one year ago
Test name Executions per second
eval 537013.4 Ops/sec
new Function 345954400.0 Ops/sec
mathjs 47214.5 Ops/sec
mathjs-chain 637809.6 Ops/sec
native multiply 205782576.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • eval

  • new Function

  • mathjs

  • mathjs-chain

  • native multiply