Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Chrome 121
Linux
Desktop
10 months ago
Test name Executions per second
not string 182136816.0 Ops/sec
length is 0 174836560.0 Ops/sec
not length 186256816.0 Ops/sec
string equals empty string 197701040.0 Ops/sec
string soft equals empty string 182077760.0 Ops/sec
not boolean 8265905.0 Ops/sec
length soft equals 0 188272352.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