Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Firefox 128
Linux
Desktop
4 days ago
Test name Executions per second
not string 911904384.0 Ops/sec
length is 0 922350464.0 Ops/sec
not length 918208320.0 Ops/sec
string equals empty string 907366336.0 Ops/sec
string soft equals empty string 905956800.0 Ops/sec
not boolean 573396416.0 Ops/sec
length soft equals 0 913296448.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