Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0
Firefox 117
Windows
Desktop
one year ago
Test name Executions per second
not string 639318592.0 Ops/sec
length is 0 655167680.0 Ops/sec
not length 609485504.0 Ops/sec
string equals empty string 657381952.0 Ops/sec
string soft equals empty string 613259072.0 Ops/sec
not boolean 644894592.0 Ops/sec
length soft equals 0 671071168.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