Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131
Windows
Desktop
3 months ago
Test name Executions per second
not string 165673984.0 Ops/sec
length is 0 171221456.0 Ops/sec
not length 166102384.0 Ops/sec
string equals empty string 172149232.0 Ops/sec
string soft equals empty string 167219296.0 Ops/sec
not boolean 109799864.0 Ops/sec
length soft equals 0 165447920.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