Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36
Chrome 110
Linux
Desktop
one year ago
Test name Executions per second
eval 2529231.0 Ops/sec
new Function 11269502.0 Ops/sec
mathjs 232812.7 Ops/sec
mathjs-chain 3011753.5 Ops/sec
native multiply 616876864.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • eval

  • new Function

  • mathjs

  • mathjs-chain

  • native multiply