Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Chrome 135
Linux
Desktop
one year ago
Test name Executions per second
not string 163104832.0 Ops/sec
length is 0 132934680.0 Ops/sec
not length 131823056.0 Ops/sec
string equals empty string 119874392.0 Ops/sec
string soft equals empty string 124811552.0 Ops/sec
not boolean 128294256.0 Ops/sec
length soft equals 0 132346264.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