Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
Chrome 125
Linux
Desktop
4 months ago
Test name Executions per second
eval 3935852.5 Ops/sec
new Function 13096280.0 Ops/sec
mathjs 415899.1 Ops/sec
mathjs-chain 3698780.5 Ops/sec
native multiply 79682296.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • eval

  • new Function

  • mathjs

  • mathjs-chain

  • native multiply