Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0
Firefox 130
Windows
Desktop
2 months ago
Test name Executions per second
eval 3123976.8 Ops/sec
new Function 973838400.0 Ops/sec
mathjs 284769.2 Ops/sec
mathjs-chain 3367167.8 Ops/sec
native multiply 886336768.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • eval

  • new Function

  • mathjs

  • mathjs-chain

  • native multiply