Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Chrome 104
Linux
Desktop
2 years ago
Test name Executions per second
not string 1098759680.0 Ops/sec
length is 0 1102685056.0 Ops/sec
not length 1084890112.0 Ops/sec
string equals empty string 1091219072.0 Ops/sec
string soft equals empty string 1072326656.0 Ops/sec
not boolean 3040650.2 Ops/sec
length soft equals 0 1075636736.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