Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Chrome 118
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
eval 8497272.0 Ops/sec
new Function 35647496.0 Ops/sec
mathjs 1165238.1 Ops/sec
mathjs-chain 10463643.0 Ops/sec
native multiply 2225277440.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • eval

  • new Function

  • mathjs

  • mathjs-chain

  • native multiply