Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0
Firefox 116
Windows
Desktop
one year ago
Test name Executions per second
double-bang-zero 842582912.0 Ops/sec
cast-zero 833060480.0 Ops/sec
double-bang-non-zero 848936384.0 Ops/sec
cast-non-zero 853403968.0 Ops/sec
double-bang-empty-string 849012416.0 Ops/sec
cast-empty-string 842891072.0 Ops/sec
double-bang-string 842510784.0 Ops/sec
cast-string 829264064.0 Ops/sec
Tests:
  • double-bang-zero

  • cast-zero

  • double-bang-non-zero

  • cast-non-zero

  • double-bang-empty-string

  • cast-empty-string

  • double-bang-string

  • cast-string