Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Chrome 117
Windows
Desktop
one year ago
Test name Executions per second
not string 1270561024.0 Ops/sec
length is 0 1270617216.0 Ops/sec
not length 1269044096.0 Ops/sec
string equals empty string 1267892608.0 Ops/sec
string soft equals empty string 1269527424.0 Ops/sec
not boolean 5374989.5 Ops/sec
length soft equals 0 1271410816.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