Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Safari/605.1.15
Safari 17
Mac OS X 10.15.7
Desktop
18 days ago
Test name Executions per second
not string 194136624.0 Ops/sec
length is 0 191973664.0 Ops/sec
not length 194196624.0 Ops/sec
string equals empty string 167035392.0 Ops/sec
string soft equals empty string 188290368.0 Ops/sec
not boolean 217548944.0 Ops/sec
length soft equals 0 101618248.0 Ops/sec
Tests:
  • not string

  • length is 0

  • not length

  • string equals empty string

  • string soft equals empty string

  • not boolean

  • length soft equals 0