Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Firefox 133
Windows
Desktop
19 days ago
Test name Executions per second
Multiply using Decimal.js 2391.1 Ops/sec
Multiply using native numbers 4193284.5 Ops/sec
Multiply using numerical strings parsed with Number 2436492.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Multiply using Decimal.js

  • Multiply using native numbers

  • Multiply using numerical strings parsed with Number