Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0
Firefox 100
Windows
Desktop
2 years ago
Test name Executions per second
eval 2033219.8 Ops/sec
new Function 1022308224.0 Ops/sec
mathjs 280601.0 Ops/sec
mathjs-chain 3067222.8 Ops/sec
native multiply 989679232.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • eval

  • new Function

  • mathjs

  • mathjs-chain

  • native multiply