Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0
Firefox 124
Windows
Desktop
9 months ago
Test name Executions per second
eval 2538748.2 Ops/sec
new Function 1126510208.0 Ops/sec
mathjs 240211.8 Ops/sec
mathjs-chain 3166905.5 Ops/sec
native multiply 1133296512.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • eval

  • new Function

  • mathjs

  • mathjs-chain

  • native multiply